Skip to content

Instantly share code, notes, and snippets.

@ishikawa
Created December 12, 2008 08:46
Show Gist options
  • Select an option

  • Save ishikawa/35056 to your computer and use it in GitHub Desktop.

Select an option

Save ishikawa/35056 to your computer and use it in GitHub Desktop.
reStructuredText: How to use nested inline markup using substitutions with the "replace" directive
|Wall|_
.. |Wall| replace:: ``-Wall``
.. _Wall: http://gcc.gnu.org/onlinedocs/gcc-4.3.2/gcc/Warning-Options.html#index-Wall-234
@SilverRainZ
Copy link

FYI, I wrote a Sphinx extension for this: https://github.com/sphinx-notes/comboroles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment