主页

索引

模块索引

搜索页面

raw标签

实例

折叠

例:

.. raw:: html

   <details>
   <summary><a>折叠</a></summary>

.. code-block:: python

   lots_of_code = "能看见我吗?"

.. raw:: html

   </details>
折叠
lots_of_code = "能看见我吗?"

文件读取

.. raw:: html
   :file: raw.html
raw demo raw body

latex

例:

.. raw:: latex

   \setlength{\parindent}{0pt}

例:

* H\ :sub:`2`\ O
* E = mc\ :sup:`2`
* :math:`E = mc^2`
  • H2O

  • E = mc2

  • \(E = mc^2\)

其他

.. raw:: html

   <script src="https://emgithub.com/embed.js?target=https%3A%2F%2Fgithub.com%2Ftal-tech%2Fgo-zero%2Fblob%2Fmaster%2Freadme.md%3Fplain%3D1%23L22-L25&style=github&showBorder=on&showLineNumbers=on&showFileMeta=on&showCopy=on"></script>
.. raw:: html

    <div id="code-element"></div>
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
    <script>
          axios({
          method: 'get',
          url: 'https://raw.githubusercontent.com/iotify/nsim-examples/master/functional-testing/alarm-server.js'
           })
          .then(function (response) {
             document.getElementById("code-element").innerHTML = response.data;
          });
    </script>

参考

主页

索引

模块索引

搜索页面