Skip to content

Commit

Permalink
Merge pull request #533 from Peergos/feat/add-math-to-notes
Browse files Browse the repository at this point in the history
add math plugin
  • Loading branch information
ianopolous authored Dec 5, 2023
2 parents 272db76 + 8af80e4 commit 2128d40
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 6 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
8 changes: 2 additions & 6 deletions assets/apps/markup-viewer/css/notes-style.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/apps/markup-viewer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
<script src="image.js"></script>
<script src="attaches.js"></script>
<script src="mermaid.js"></script>
<script src="latex.js"></script>
<script src="editorjs.js"></script>
<script src="init.js"></script>
</body>
Expand Down
4 changes: 4 additions & 0 deletions assets/apps/markup-viewer/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,10 @@ function initialiseEditorJS(theme, jsonData) {
inlineToolbar: true,
shortcut: 'CMD+ALT+T'
},
Math: {
class: EJLaTeX,
shortcut: 'CMD+SHIFT+L'
},
attaches: {
class: AttachesTool,
config: {
Expand Down
1 change: 1 addition & 0 deletions assets/apps/markup-viewer/latex.js

Large diffs are not rendered by default.

0 comments on commit 2128d40

Please sign in to comment.