允许不格式化code与pre sivan/heti#46

This commit is contained in:
Leo 2021-02-15 16:15:42 +08:00 committed by GitHub
parent f91f5dd170
commit e59e04f654
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,6 +73,9 @@
} }
} }
$format_pre_code: true !default;
@if $format_pre_code {
pre { pre {
margin-block-start: $std-block-unit / 2; margin-block-start: $std-block-unit / 2;
margin-block-end: $std-block-unit / 2; margin-block-end: $std-block-unit / 2;
@ -102,4 +105,5 @@
color: inherit; color: inherit;
} }
} }
}
} }