0

I tried inserting a definition list in my contents.lr file.

Tables are working fine but the definition lists are not handled correctly.

Example taken from https://pythonhosted.org/Markdown/extensions/index.html

Apple
:   Pomaceous fruit of plants of the genus Malus in
    the family Rosaceae.
Orange
:   The fruit of an evergreen tree of the genus Citrus.

Rendering the string directly with markdown works:

markdown.markdown(s, extensions=['markdown.extensions.def_list'])

1 Answer 1

0

I couldn't find it documented anywhere, but with a quick look at the source code, it appears that Lektor uses the Mistune Markdown parser, which does not support definition lists.

I'd suggest filing a bug report with Lektor, asking them to document what Markdown features they support and how to alter them.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.