Skip to content

Commit

Permalink
fix: change data-math-typeset attribute to string boolean
Browse files Browse the repository at this point in the history
Co-authored-by: Shinyu Murakami <murakami@vivliostyle.com>
  • Loading branch information
akabekobeko and MurakamiShinyu committed Apr 24, 2021
1 parent 218ad29 commit ee733b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/vfm.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ It also outputs the `<script>` and `<body>` attributes for processing MathJax in
<meta name="viewport" content="width=device-width, initial-scale=1">
<script async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.9/MathJax.js?config=TeX-MML-AM_CHTML"></script>
</head>
<body data-math-typeset>
<body data-math-typeset="true">
<p>inline: <span class="math inline">\(x = y\)</span></p>
<p>display: <span class="math display">$$1 + 1 = 2$$</span></p>
</body>
Expand Down

0 comments on commit ee733b7

Please sign in to comment.