Skip to content

Commit

Permalink
fix: gitpage doesn't support hackmd markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
ksw2000 committed Nov 15, 2024
1 parent 7ac6234 commit d316236
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/gitpage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
run: |
mkdir output/js
mv ./dist/web/hmd2html.min.js ./output/js
mv ./example/index.md ./output/index.md
mv ./example/index.html ./output/webjs.html
- name: commit and push
Expand Down
4 changes: 2 additions & 2 deletions example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -633,10 +633,10 @@
<textarea id="input"></textarea>
<div id="output"></div>
</div>
<script src="./output/js/hmd2html.min.js"></script>
<script src="./js/hmd2html.min.js"></script>
<script>
window.converter = new window.hmd2html.Converter();
fetch("./index.md")
fetch("https://raw.githubusercontent.com/ksw2000/hackmd-to-html-cli/refs/heads/main/example/index.md")
.then(res => res.text())
.then(data => {
document.getElementById("input").value = data;
Expand Down

0 comments on commit d316236

Please sign in to comment.