mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-07 06:37:01 +02:00
Set language class for pre tag
This commit is contained in:
@@ -18,6 +18,7 @@ const SampleCode: React.FC<SampleCodeProps> = ({ code, fullHeight = false, lang
|
|||||||
? <></>
|
? <></>
|
||||||
: (
|
: (
|
||||||
<pre
|
<pre
|
||||||
|
className={`language-${lang}`}
|
||||||
style={{
|
style={{
|
||||||
border: 'none',
|
border: 'none',
|
||||||
borderRadius: 0,
|
borderRadius: 0,
|
||||||
|
Reference in New Issue
Block a user