Skip to content

Architecture Comment Filters #12

Open

Description

@kellpossible

Hey, just thinking, perhaps it would be better if instead of converting everything to a single markdown document and then applying filters, it converted it all directly to a single page html document, and apply the filters to that. The reason for this thinking is that filters can be more reliably applied to HTML documents because they are easier to edit, as opposed to a bunch of flimsy regexes

Activity

  1. kellpossible commented on Apr 24, 2018

    @kellpossible
    Author

    and pandoc still has the ability to convert html documents to latex for pdf purposes as far as I'm aware, also it opens up the door more for using this with other html to pdf converters.

  2. kellpossible commented on Apr 24, 2018

    @kellpossible
    Author

    I have another private project which uses html as an intermediate representation to convert from microsoft word documents to markdown/reStructuredText in order to apply edits before converting again with pandoc. This approach appears to work pretty well.

  3. kellpossible commented on Apr 25, 2018

    @kellpossible
    Author

    While building support for cross-referencing I ran into this limitation
    kellpossible#3

  4. twardoch commented on Jun 5, 2018

    @twardoch
    Owner

    Note this project:

    https://github.com/shauser/mkdocs-pdf-export-plugin

    it may be better architecturally since it's a new-style MkDocs plugin so MkDocs does all the heavylifting. I'll probably retire this project and replace it with a fork of that other one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions