1
0
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:
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 <pre
className={`language-${lang}`}
style={{ style={{
border: 'none', border: 'none',
borderRadius: 0, borderRadius: 0,