From: Alan G. I. <ala...@gm...> - 2021-07-03 19:55:14
|
This sounds great. Here is how I understand this: if I update from Subversion and install the latest revision (8786) that I should be able to use my custom `dfn(emphasis)` role and see a `dfn` element if I use the rst2html5.py script (which, iiuc, uses the rst2html5_polyglot writer). However, I still see an `em` element with a `dfn` class. Have I misunderstood? I'm looking at https://docutils.sourceforge.io/HISTORY.html#release-0-17-2021-04-03 Thanks, Alan Isaac On 7/3/2021 5:30 AM, Guenter Milde via Docutils-users wrote: > This goal is already easy to achieve since version: > > - Use HTML text-level tags <small>, <s>, <q>, <dfn>, <var>, <samp>, <kbd>, > <i>, <b>, <u>, <mark>, and <bdi> if a matching class value > is found in `inline` and `literal` elements. > Use <ins> and <del> if a matching class value > is found in `inline`, `literal`, or `container` elements. > Use <small> for generated code line numbers. > > -- HISTORY.txt |