Skip to content

Commit

Permalink
Fix KaTeX rendering on iOS Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyCA authored and Peng-Yu Chen committed Oct 24, 2018
1 parent e768100 commit 8eefa5f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions custom/main.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!-- Fix MathJax rendering on iOS Safari due to rendering long numbers as phone numbers. -->
{% extends "base.html" %}

{% block site_meta %}
{{ super() }}
<meta name="format-detection" content="telephone=no">
{% endblock %}
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ copyright: 'Built by <a href="http://github.com/walkccc">Jay Chen</a> &copy; 201
theme:
name: 'material'
language: 'en'
custom_dir: 'custom/'
favicon: 'assets/favicon.png'
palette:
primary: 'Teal'
Expand Down

0 comments on commit 8eefa5f

Please sign in to comment.