終於找到方法好塞 code 惹...(三改) w/ Prism

哎呀真好看(捧臉

使用方法:Prism

  1. [Theme] > [Edit HTML]

  2. 找到 </head>,在前一行貼上 <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js'></script>,並且在兩者之間加上 <style>(貼上從 Prism 那裏拿到的 CSS 全部內容)</style>

  3. 找到 </body>,在前一行貼上 <script>(貼上從 Prism 那裏拿到的 JS 全部內容)</script>

  4. 嘗試使用,觀看效果

ref:

[TypeFilter(typeof(xxx))]
[HttpPost]
[Route("ooo")]
public async Task<aaa> BBB(User user)
{
    try
    {
        var result = ...;
        return result;
    }
    catch (Exception e)
    {
        _logger.LogError($"{e.Message}");
        return ...;
    }
}
C#
<pre class="line-numbers">
	<code class="language-markup">(Enter code here)
	</code>
</pre>
HTML

Written with StackEdit.

Comments