1
0
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:
Phuoc Nguyen
2021-03-30 22:56:37 +07:00
parent 9ed2923b9a
commit f889f44f7f

View File

@@ -18,6 +18,7 @@ const SampleCode: React.FC<SampleCodeProps> = ({ code, fullHeight = false, lang
? <></>
: (
<pre
className={`language-${lang}`}
style={{
border: 'none',
borderRadius: 0,