https://github.com/jhermsmeier/github-math-iatemplate
Custom iA Writer template with support for Math and code syntax highlighting
https://github.com/jhermsmeier/github-math-iatemplate
ia-writer iatemplate
Last synced: 5 months ago
JSON representation
Custom iA Writer template with support for Math and code syntax highlighting
- Host: GitHub
- URL: https://github.com/jhermsmeier/github-math-iatemplate
- Owner: jhermsmeier
- License: mit
- Created: 2017-02-05T22:58:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-07-22T19:49:52.000Z (almost 4 years ago)
- Last Synced: 2025-01-08T06:16:36.763Z (5 months ago)
- Topics: ia-writer, iatemplate
- Language: CSS
- Homepage:
- Size: 519 KB
- Stars: 123
- Watchers: 4
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# GitHub-MathML
Custom iA Writer template with support for Math
## Installation
1. Download the latest `GitHub-MathML.zip` from the [Releases](https://github.com/jhermsmeier/github-math-iatemplate/releases)
2. Unzip and open the `.iatemplate` file
3. iA Writer should automatically open & install the templateSame thing for updates – iA Writer will prompt you if you want to replace the currently installed template with the new one.
## Features
### Code Syntax Highlighting in both light & night modes
![]()
### MathML
![]()
#### Inline
$D(\mathbf{x})=A(\mathbf{x}) + \mathbf{d}$
```tex
$D(\mathbf{x})=A(\mathbf{x}) + \mathbf{d}$
```\\(\cos(\alpha_{n-1})\\)
```tex
\\(\cos(\alpha_{n-1})\\)
```#### Block
$$D(\mathbf{x})=A(\mathbf{x}) + \mathbf{d}$$
```tex
$$D(\mathbf{x})=A(\mathbf{x}) + \mathbf{d}$$
```\\[
[^{i-1}T_i] = \left( \begin{array}{r}
\cos(θ_i) & -\sin(θ_i) \cos(⍺_{i,i+1}) & \sin(θ_i) \sin(⍺_{i,i+1}) & a_{i,i+1} \cos(θ_i) \\
\sin(θ_i) & \cos(θ_i) \cos(⍺_{i,i+1}) & -\sin(θ_i) \sin(⍺_{i,i+1}) & a_{i,i+1} \sin(θ_i) \\
0 & \sin(⍺_{i,i+1}) & \cos(⍺_{i,i+1}) & d_i \\
0 & 0 & 0 & 1
\end{array} \right)
\\]```tex
\\[
[^{i-1}T_i] = \left( \begin{array}{r}
\cos(θ_i) & -\sin(θ_i) \cos(⍺_{i,i+1}) & \sin(θ_i) \sin(⍺_{i,i+1}) & a_{i,i+1} \cos(θ_i) \\
\sin(θ_i) & \cos(θ_i) \cos(⍺_{i,i+1}) & -\sin(θ_i) \sin(⍺_{i,i+1}) & a_{i,i+1} \sin(θ_i) \\
0 & \sin(⍺_{i,i+1}) & \cos(⍺_{i,i+1}) & d_i \\
0 & 0 & 0 & 1
\end{array} \right)
\\]
```