{{ content }}
{% include post-tags.html post=page %}
{% include comments.html %}
{% include related_posts.html %}
h1. Jekyll에 MathJax Embedding 시키기 @_layouts\post.html@ 에 다음의 MathJax Rendering 코드를 첨가한다. - 원본 @post.html@
---
layout: default
---
{{ page.title }}
{% include post-meta.html post=page %}
{{ content }}
{% include post-tags.html post=page %}
{% include comments.html %}
{% include related_posts.html %}
- 다음의 MathJax Code 를...
- 이렇게 삽입해야 한다.
---
layout: default
---
{{ page.title }}
{% include post-meta.html post=page %}
{{ content }}
{% include post-tags.html post=page %}
{% include comments.html %}
{% include related_posts.html %}
h2. 그런데 알고보니 꼭 이렇게 안 해도 된다.
다음과 같이 해도 된다. _config.yml의 Markdown Processing Setting에서
kramdown:
auto_ids: true
entity_output: as_char
toc_levels: 1..6
smart_quotes: lsquo,rsquo,ldquo,rdquo
input: GFM
hard_wrap: false
footnote_nr: 1
show_warnings: false
math_engine: mathjax
math_engine_opts:
preview: true
preview_as_code: true