From: Günter M. <mi...@us...> - 2023-12-12 18:25:41
|
See [#96] for another use case. --- **[feature-requests:#68] Adding syntax for role parameters** **Status:** open **Group:** Default **Created:** Fri Jan 31, 2020 11:28 PM UTC by adam **Last Updated:** Fri Jan 31, 2020 11:28 PM UTC **Owner:** nobody Hello Docutils team, Sometimes I would like to pass options to role functions for adding domain-specific metadata. For example, For citation page numbers: ~~~rst As discussed in :cite:[p.99]`knuth1968`, the implementation ... ~~~ In a cookbook: ~~~rst If you like, add some :liquid-ingredient:[20ml, spicyness=7]`Tabasco sauce`. ~~~ As discussed in [this Docutils mailing-list thread](https://sourceforge.net/p/docutils/mailman/message/34894112/), AsciiDoc [uses a syntax](https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/#images) like this: ~~~ Click image:icons/play.png[Play, title="Play"] to get the party started. ~~~ I like the idea of passing positional and named options in brackets. Is there a possibility of Docutils supporting this feature? --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/feature-requests/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |