Skip to content

Commit

Permalink
[fix ] readable content.
Browse files Browse the repository at this point in the history
  • Loading branch information
Koooooo-7 committed Aug 1, 2020
1 parent ee5ed19 commit 8fba01b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/write-a-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,6 @@ Current version: <span id='tip-version'>loading</span>
<script>
document.getElementById('tip-version').innerText = Docsify.version
// fix1320 replace the content to show the {docsify-ignore} example in case of being replaced in default.
let text = document.getElementsByClassName("lang-js")[2].innerHTML.replace(/Last modified .*$'/,"Last modified {docsify-updated}")
let text = document.getElementsByClassName("lang-js")[2].innerHTML.replace(/Last modified .*'/,"Last modified {docsify-updated<span>}'</span>")
document.getElementsByClassName("lang-js")[2].innerHTML = text
</script>

0 comments on commit 8fba01b

Please sign in to comment.