Skip to content

Commit a190df2

Browse files
jacobaustin123odcambc
authored andcommitted
Allows for standard Jekyll code highlighting with distill template (alshedivat#3002)
As described in alshedivat#300, standard Markdown code highlighting doesn't work in the Distill template because it is clobbered by the Distill "Prism" syntax highlighting. This PR will allow d-code tags (distill-specific code tags) to function with the Distill syntax highlighter, but will default `highlight` and Markdown code blocks to use the Jekyll/Rouge highlighter. This PR also removes overrides.js, which is currently broken because jquery isn't loaded.
1 parent 937d13a commit a190df2

File tree

3 files changed

+1
-30
lines changed

3 files changed

+1
-30
lines changed

_layouts/distill.liquid

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<!-- Distill js -->
77
<script src="{{ '/assets/js/distillpub/template.v2.js' | relative_url }}"></script>
88
<script src="{{ '/assets/js/distillpub/transforms.v2.js' | relative_url }}"></script>
9-
<script src="{{ '/assets/js/distillpub/overrides.js' | relative_url }}"></script>
109
{% if page._styles %}
1110
<!-- Page/Post style -->
1211
<style type="text/css">

assets/js/distillpub/overrides.js

Lines changed: 0 additions & 28 deletions
This file was deleted.

assets/js/distillpub/template.v2.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)