What I want to do is write the .rst code for this HTML output:

instead of:        <strong>energy</strong>
it has to be:      <strong id="energy">energy</strong>

How is this done?  The .rst code I'm using now is:   **energy**

This will be used hundreds of times (using a software program to convert 
source into .rst files) in a multipage document (~150 .rst files) so a 
simple reference label approach, such as `.. _energy:`  would likely be 
created on different pages, generating multiply-defined errors.

BTW, the word "energy" is just an example of the type of words that word be 
anchored.

related topics:
* https://groups.google.com/g/sphinx-dev/c/bNW2Tc4hhOA

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/57d82d37-a9e3-416d-9c3e-b89e14784b03n%40googlegroups.com.

Reply via email to