Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add prism highlight support #23

Merged
merged 8 commits into from
Jun 13, 2020
Merged

Add prism highlight support #23

merged 8 commits into from
Jun 13, 2020

Conversation

stevenjoezhang
Copy link
Member

@stevenjoezhang stevenjoezhang commented Jun 8, 2020

See hexojs/hexo#4119

codeblock:
  ...
+  # See: https://github.com/PrismJS/prism/tree/master/themes
+  prism:
+    light: prism
+    dark: prism-dark

vendors:
  ...
+  # Prism
+  # prism: //cdn.jsdelivr.net/npm/prismjs@1/prism.min.js
+  # prism: //cdnjs.cloudflare.com/ajax/libs/prism/1.20.0/prism.min.js
+  prism:

@stevenjoezhang stevenjoezhang merged commit 2446a19 into master Jun 13, 2020
@stevenjoezhang stevenjoezhang deleted the prism branch June 13, 2020 10:39
lingyf pushed a commit to lingyf/hexo-theme-next that referenced this pull request Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant