mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-06 06:07:33 +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
|
||||
className={`language-${lang}`}
|
||||
style={{
|
||||
border: 'none',
|
||||
borderRadius: 0,
|
||||
|
Reference in New Issue
Block a user