summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-17Reorganize codeDaniel Schadt
Cramming everything into a single file is not necessarily good, so this patch splits it up a bit. Furthermore, the templates are no longer hardcoded, but managed through a registry. This breaks the lang-ar implementation, which was a weird special case anyway. Properly fixing it would be to include all country codes.
2021-08-16fix default header value for tabulateDaniel Schadt
2021-08-16Add rendering for {{quote|...}} templatesDaniel Schadt
2021-08-16add {{main article|...}} as alias for {{main|...}}Daniel Schadt
2021-08-16Retrieve title as wellDaniel Schadt
2021-08-16Add a redirection pageDaniel Schadt
2021-08-16Handle lists without extra spaceDaniel Schadt
Sometimes, lists are written like *text *text Which can throw both the pattern-conversion and Gemini browsers off. It's better to insert the extra space here and be safe.
2021-08-16Render {{script|...}} like we do with {{lang|...}}Daniel Schadt
Even though those macros are slightly different, we can handle them in pretty much the same way (discard the meta information and just output the characters).
2021-08-16Render {{main|...}} templateDaniel Schadt
2021-08-16Add a setup.pyDaniel Schadt
2021-08-16Initial commitDaniel Schadt
This is not even a proper Python package yet, but the output is surprisingly good already, so I'd like to take this version and save it.