Skip to content

Instantly share code, notes, and snippets.

@ZodmanPerth
Last active August 17, 2021 22:42
Show Gist options
  • Select an option

  • Save ZodmanPerth/ce90e1ac74276f5e30f0905c71a91c5d to your computer and use it in GitHub Desktop.

Select an option

Save ZodmanPerth/ce90e1ac74276f5e30f0905c71a91c5d to your computer and use it in GitHub Desktop.

Revisions

  1. ZodmanPerth revised this gist Aug 17, 2021. 1 changed file with 7 additions and 0 deletions.
    7 changes: 7 additions & 0 deletions Sample.js
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,12 @@
    // This is a demonstration for Hexo Theme Icarus showing how Mathjax is incorrectly formatting the content
    // of an embedded GitHub Gist file.
    // See https://github.com/ppoffice/hexo-theme-icarus/issues/915
    //
    // The issue has a resolution: surround the Gist script tag with a div containing ignore classes for all
    // MathJax preprocessors:
    // <div class="tex2jax_ignore asciimath2jax_ignore">
    // <script src="https://gist.github.com/ZodmanPerth/ce90e1ac74276f5e30f0905c71a91c5d.js?file=Sample.js"></script>
    // </div>

    var linkAttributes = ` target="_blank"`
    linkAttributes = ` target="_blank" rel="external"`
  2. ZodmanPerth revised this gist Aug 14, 2021. 1 changed file with 2 additions and 3 deletions.
    5 changes: 2 additions & 3 deletions Sample.js
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,5 @@
    // This is a demonstration of <a href="https://github.com/ppoffice/hexo-theme-icarus/issues">Issue 22</a>
    // for Hexo Theme Icarus showing how Mathjax is incorrectly formatting the content of an embedded
    // GitHub Gist file.
    // This is a demonstration for Hexo Theme Icarus showing how Mathjax is incorrectly formatting the content
    // of an embedded GitHub Gist file.

    var linkAttributes = ` target="_blank"`
    linkAttributes = ` target="_blank" rel="external"`
  3. ZodmanPerth revised this gist Aug 14, 2021. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions Sample.js
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,7 @@
    // This is a demonstration of <a href="https://github.com/ppoffice/hexo-theme-icarus/issues">Issue 22</a>
    // for Hexo Theme Icarus showing how Mathjax is incorrectly formatting the content of an embedded
    // GitHub Gist file.

    var linkAttributes = ` target="_blank"`
    linkAttributes = ` target="_blank" rel="external"`

  4. ZodmanPerth created this gist Aug 14, 2021.
    5 changes: 5 additions & 0 deletions Sample.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    var linkAttributes = ` target="_blank"`
    linkAttributes = ` target="_blank" rel="external"`

    var ClassText = `class="gallery-item"`
    var StyleText = `color:#7a7a7a`
    1 change: 1 addition & 0 deletions naming file
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    Hexo Icarus Mathjax GitHub Gist issue