Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Architecture Comment Filters #12

Open
kellpossible opened this issue Apr 24, 2018 · 4 comments
Open

Architecture Comment Filters #12

kellpossible opened this issue Apr 24, 2018 · 4 comments

Comments

@kellpossible
Copy link

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

@kellpossible
Copy link
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.

@kellpossible
Copy link
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.

@kellpossible
Copy link
Author

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

@twardoch
Copy link
Owner

twardoch commented Jun 5, 2018

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants