christopher-ramirez / secretary

Take the power of Jinja2 templates to OpenOffice and LibreOffice.
Other
190 stars 48 forks source link

html filter and usage of defined styles #35

Open maxrosenblattl opened 7 years ago

maxrosenblattl commented 7 years ago

Pull request provides a generalization of the markdown filter to allow raw HTML to be inserted. Second commit is for searching styles.xml to find style-name attributes that are used in the document already. Algorithm is a bit crude and only covers p, but at that should cover most templates created by e.g. Microsoft Word or other ODT editors that use their own naming scheme.

christopher-ramirez commented 7 years ago

Great! I will check your PR and merge it.

Thanks!