Auto_Title.Py

None

!! function

pre_render function

pre_render source


        def pre_render(markata) -> None:
            for article in markata.filter('title==""'):
                article["title"] = (
                    Path(article["path"]).stem.replace("-", " ").replace("_", " ").title()
                )