diff --git a/config.yaml b/config.yaml index 57452cf..6f882fa 100644 --- a/config.yaml +++ b/config.yaml @@ -8,6 +8,11 @@ canonifyurls: true PostFormat: true +markup: + highlight: + noClasses: false + lineNos: false + blackfriday: Fractions: false hrefTargetBlank: true diff --git a/layouts/partials/meta.extra.html b/layouts/partials/meta.extra.html index 2096289..e4bae52 100644 --- a/layouts/partials/meta.extra.html +++ b/layouts/partials/meta.extra.html @@ -7,4 +7,6 @@ gtag('config', 'G-9ET9Z12C0F'); - \ No newline at end of file + + + \ No newline at end of file diff --git a/themes/persona/static/static/css/style.css b/themes/persona/static/static/css/style.css index 9e5830f..57e0611 100644 --- a/themes/persona/static/static/css/style.css +++ b/themes/persona/static/static/css/style.css @@ -1553,3 +1553,19 @@ aside.post_info .vcard_area li.tags a:first-child:before { margin: 0px; padding: 20px 0px; } */ + +div.highlight pre.chroma, div.highlight code { + border: none !important; + white-space: nowrap !important; + word-wrap: normal !important; + word-break: keep-all !important; +} + +div.highlight { + overflow-x: scroll; +} + +div.highlight pre.chroma { + width: 100%; + height: 100%; +} \ No newline at end of file