lektor - `markdown.extensions.def_list` not rendering correctly -
i tried inserting definition list in contents.lr file.
tables working fine definition lists not handled correctly.
example taken https://pythonhosted.org/markdown/extensions/index.html
apple : pomaceous fruit of plants of genus malus in family rosaceae. orange : fruit of evergreen tree of genus citrus.
rendering string directly markdown
works:
markdown.markdown(s, extensions=['markdown.extensions.def_list'])
i couldn't find documented anywhere, quick @ source code, appears lektor uses mistune markdown parser, not support definition lists.
i'd suggest filing bug report lektor, asking them document markdown features support , how alter them.
Comments
Post a Comment