Code
Usage
html
<div class="model-code-green">
<pre class="code-line" data-prefix=">">
<code>npm install @elonehoo/ui</code>
</pre>
</div>
jsx
<div className="model-code-green">
<pre className="code-line" data-prefix=">">
<code>npm install @elonehoo/ui</code>
</pre>
</div>
Rules
Code Box
ts
/^model-code-((rose|pink|fuchsia|purple|violet|indigo|blue|sky|cyan|teal|emerald|green|lime|yellow|amber|orange|red|gray|slate|zinc|neutral|stone|light|dark|lightblue|warmgray|truegray|coolgray|bluegray))$/
Code Line
ts
/^code-line$/