8 lines
398 B
HTML
8 lines
398 B
HTML
{{- if .Site.Params.highlightjs -}}
|
|
{{ "<!-- highlighting -->" | safeHTML }}
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/{{ .Site.Params.highlightjsstyle | default "default" }}.min.css">
|
|
{{- end -}}
|
|
{{ if .Site.Params.PygmentsUseClasses -}}
|
|
<!-- Pygments Syntax -->
|
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/syntax.min.css">
|
|
{{- end }}
|