Merge pull request #47 from leoleoasd/master
允许不格式化code与pre sivan/heti#46
This commit is contained in:
commit
71e05e2ef5
1 changed files with 29 additions and 25 deletions
|
@ -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;
|
||||||
|
@ -103,3 +106,4 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue