Last active
December 21, 2015 12:59
-
-
Save memeplex/6309540 to your computer and use it in GitHub Desktop.
A strapdown template with: 1. support for utf8 charset // 2. (optional, i.e. commented out) support for mathjax (with configuration for ascimath which I believe is a kindred spirit to markdown) // 3. fix for bootstrap not honouring table alignment // BTW I can't believe this description is not markdown itself.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Title here</title> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
<style> /* https://github.com/arturadib/strapdown/issues/25 */ | |
td[align=right] { text-align: right !important; } | |
td[align=center] { text-align: center !important; } | |
td[align=left] { text-align: left !important; } | |
</style> | |
</head> | |
<body> | |
<xmp theme="slate" style="display:none;"> | |
Content here (o también "Contenido aquí" por cortesía de utf8) | |
</xmp> | |
<script src="http://strapdownjs.com/v/0.2/strapdown.js"></script> | |
<!-- MathJax support & configuration | |
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> | |
<script type="text/javascript"> | |
MathJax.Hub.Config({ | |
jax: ["input/TeX","input/AsciiMath"], | |
extensions: ["asciimath2jax.js"], | |
tex2jax: { displayMath: [["$$","$$"]], inlineMath: [["%%","%%"]] }, | |
asciimath2jax: { delimiters: [["$","$"]] } | |
}) | |
</script> | |
--> | |
</body> | |
</html> |
Hi, I've forked strapdown and solved this issue at https://github.com/zTrix/strapdown
demo: http://strapdown.ztx.io/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a conflict between markdown and mathjax. For example:
$\frac{R_a T_{im}}{V_{im}}$
includes a T that is seen as italic{a T}