in2lambda.filters.markdown.filterΒΆ

in2lambda.filters.markdown.filter(func: Callable[[Element, Doc, Module, bool], Str | None]) Callable[[Element, Doc, Module, str, bool], Str | None][source]ΒΆ

Python decorator to make generic LaTeX elements markdown readable.

As an example, part of the process involves putting dollar signs around maths expressions and using markdown syntax for images.

Parameters:

func – The pandoc filter for a given subject.