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
…) (#396)


Co-authored-by: Sridhar Ratnakumar <[email protected]>
  • Loading branch information
kukimik and srid authored Dec 24, 2022
1 parent ffcecb4 commit 6b5215e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- Reduce Emanote's Nix runtime closure size
- UI
- Add source map for Stork [\#391](https://github.com/srid/emanote/pull/391)
- Workaround for Prism.js and Tailwind CSS both using `table` class [\#320](https://github.com/srid/emanote/pull/396)
- Features
- Timeline backlinks recognize flexible daily notes suffixed with arbitrary string [\#395](https://github.com/srid/emanote/issues/395)
- Misc
Expand Down
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:inline;}</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
2 changes: 1 addition & 1 deletion emanote.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.4
name: emanote
version: 1.0.1.4
version: 1.0.1.5
license: AGPL-3.0-only
copyright: 2022 Sridhar Ratnakumar
maintainer: [email protected]
Expand Down

0 comments on commit 6b5215e

Please sign in to comment.