Skip to content

Commit

Permalink
Add GH CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
Ambushfall committed May 20, 2023
1 parent 9f40e58 commit f1b12cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions editor.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// const CSS_LINKS = [`https://cdn.jsdelivr.net/npm/bootstrap/dist/css/bootstrap.min.css`];
const CSS_LINKS = [`https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.2.0/github-markdown.min.css`];

const CHEATSHEET = fetch("https://ambushfall-next13-app.vercel.app/MD_CHEATSHEET.MD").then(res => res.text())

const MD_CFG = {
async: true,
// async: true,
// pedantic: false,
gfm: true,
mangle: false,
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</div>

<div class="editor__preview">
<iframe id="editorPreview" frameborder="0"></iframe>
<iframe id="editorPreview" class="markdown-body" frameborder="0"></iframe>
</div>
</div>

Expand Down

0 comments on commit f1b12cf

Please sign in to comment.