Skip to content

Commit

Permalink
Workaround for Prism.js and Tailwind CSS both using table class (#320
Browse files Browse the repository at this point in the history
…).
  • Loading branch information
kukimik committed Dec 8, 2022
1 parent d2a6423 commit a85900b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions default/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ js:
<link href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.28.0/themes/prism-tomorrow.min.css" rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.28.0/prism.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.28.0/plugins/autoloader/prism-autoloader.min.js"></script>
<style>code span.token.table{display:initial;}</style> <!-- Tailwind and Prism both use the .table class. This resets the display:table property set by Tailwind. https://github.com/EmaApps/emanote/issues/320 -->
# Syntax highlighting using highlight.js
highlightjs: |
<!-- highlight.js -->
Expand Down

0 comments on commit a85900b

Please sign in to comment.