New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Description Lists #67
Comments
That will be better if being supported |
This issue should be considered critical. Since mdBook relies on pulldown-cmark to produce its documentation, the current state of affairs is that Rust projects just cannot use definition lists within their documentations, unless they dismiss mdBook. @ayosec has already given the 2 links that really matter here:
So IMHO the next move is a no-brainer: |
It seems like this should be reasonably straightforward to implement as an extension. I can mentor anyone that would like to try to do this. Shoot me a message here or on the #pulldown-cmark channel at https://xi.zulipchat.com. |
@marcusklaas thanks for your mentoring offer... I'm in ! |
I suggest using this syntax for definition list, until the [blocking problem](pulldown-cmark/pulldown-cmark#67) on the pulldown-cmark-side is fixed.
Hi! I just thought I'd check in here to see if this is still in the works, or if it may be stalled out and in need of more energy/support. |
I don't think this is being worked on at the moment. It's open for any person to start work on. I am still available to assist. |
@marcusklaas I'd be happy to take a crack at it. If you have any initial pointers that you think might help, please share at your leisure. Otherwise I'll circle back here once I figure out enough to form any questions, or, optimistically, to suggest my proposed implementation strategy. |
That's awesome! I only have very general pointers: first try to get a general idea of the parsing strategy (two phases) and then think of where description lists could fit in. Starting with one or two basic examples and trying to get those to parse those first seems to be another good way to get started. Hit me up here or on zulip when you have questions! |
Here I am in 2024, and moving to mdbook from asciidoctor, and wishing for this. |
Some parsers have an extension to support description/definition lists. In https://talk.commonmark.org/t/description-list/289 there is a proposal to add it to CommonMark. A common syntax is to put a colon at the beginning of the line.
An example from the Pandoc manual:
The text was updated successfully, but these errors were encountered: