Markdown 使用html方式显示代码块
语法:
<pre style="background-color:#efeded;padding:10px;border-radius: 4px;border: solid 1px;border-color:#c9c7c7">
fda803s:fda803s@67{
compatible = "st,fda803s";
reg = <0x67>;
// pinctrl-names = "mute","unmute","default";
pinctrl-names = "default";
// pinctrl-0 = <&fda803s_mute>;
// pinctrl-1 = <&fda803s_unmute>;
// pinctrl-2 = <&fda803s_power_up>;
pinctrl-0 = <&fda803s_power_up>;
<font color=red>mute-gpio = <&tlmm_pinmux 25 GPIO_ACTIVE_HIGH>;</font>
};
</pre>
CSDN显示效果:
fda803s:fda803s@67{ compatible = "st,fda803s"; reg = <0x67>; // pinctrl-names = "mute","unmute","default"; pinctrl-names = "default"; // pinctrl-0 = <&fda803s_mute>; // pinctrl-1 = <&fda803s_unmute>; // pinctrl-2 = <&fda803s_power_up>; pinctrl-0 = <&fda803s_power_up>; mute-gpio = <&tlmm_pinmux 25 GPIO_ACTIVE_HIGH>; };
typora显示效果: