Substitution in Admonitions

余生颓废 提交于 2019-12-01 21:43:25

The substitution in the note works if you remove the strong emphasis (double asterisks). Nesting of inline markup is not supported.

References:


Here is a workaround if you need to keep the strong emphasis:

  1. In conf.py, use the following definition:

    rst_epilog = '.. |p| replace:: **Labnext**'
    
  2. In your .rst file, use this markup:

    .. note::
    
      **Been using** |p| **separately and now integrating?**
    
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!