From: Matthew W. <mwo...@gm...> - 2019-10-07 18:53:04
|
On 07/10/2019 14.11, Guenter Milde via Docutils-users wrote: > On 2019-10-07, Matthew Woehlke wrote: > >> What I want, ideally, is a role that takes its text and generates an >> anchor from its text (i.e. sets the 'id' on its node to its contents), >> *and also emits the text*. > > You may be looking for `inline internal targets`__. > > __ http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#inline-internal-targets Huh. Okay, that *sort of* works, but is there any way to style the text? Also, the replacement of '.' with '-' is undesired and doesn't seem to be necessary... -- Matthew |