V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
ddllzz
V2EX  ›  问与答

请教一个 Parsedown 的问题

  •  
  •   ddllzz · 2020-07-30 15:02:54 +08:00 · 757 次点击
    这是一个创建于 1355 天前的主题,其中的信息可能已经有所发展或是发生改变。

    官方的 Demo 中,代码块中的关键字指定了 tokenkeyword 类,哪位大佬知道这是如何生成的。

    <pre class=" language-php">
    	<code class=" language-php">
    		<span class="token keyword">public</span> 
    	</code>
    </pre>
    

    目前我的代码是:

    $Parsedown = new \ParsedownExtra();
    
    echo $Parsedown->text('xxxx');
    
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5628 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 05:47 · PVG 13:47 · LAX 22:47 · JFK 01:47
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.