Closed zcysxy closed 2 years ago
Related to #31. Seems like pretty straightforward.
To test it, I duplicated the katex-samples.html, changed all the id="..." to class="pseudocode", and replaced the script with
katex-samples.html
id="..."
class="pseudocode"
pseudocode.renderClass(document.getElementsByClassName("pseudocode"), { lineNumber: false, noEnd: true });
If there is no problem we can make it to the docs.
Thanks for the review, totally make sense! All changes are applied.
Awesome, thank you so much! LGTM.
Related to #31. Seems like pretty straightforward.
To test it, I duplicated the
katex-samples.html
, changed all theid="..."
toclass="pseudocode"
, and replaced the script withIf there is no problem we can make it to the docs.