我试图在查询代码片段之前使用~~~ sql标记应用4个空格,但它似乎不能正常工作,因为它没有显示代码亮点.
有什么建议?
谢谢你的建议.
解决方法:
i have tried to apply [four] spaces with ~~~sql
markup before the … code snippet
您必须在缩进的代码块和受防护的代码块之间进行选择.替代语法的部分混合将不起作用.
# code block #
what follows is a fenced code block.
note that all text starts immediately in the left margin.
there is no indentation of the fences.
there are no extra space characters at the start of these lines.
~~~~sql
update employee
set salary = salary * 2
where salary < 100000
~~~~
the following will not work
~~~~sql
update employee
set salary = salary * 2
where salary < 100000
~~~~
you cannot mix indentation and fencing.
语法标识符是fenced code block语法的一部分.您还必须使用波浪线结束代码块.
sql语法高亮显示为supported language.
您还必须“勾选在代码块中启用突出显示选项”.在macdown.
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!