Skip to content

515hikaru-sandbox/dollar-convert-inline-math

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dollar-convert-inline-math

普段 $...$ と数式を書いているがデフォルトのMathJaxに合わせて\(\)とインライン数式のデリミタを変更できるようにした。

このコマンドを作成することにより得られる作者の実益よりも下記の2つのライブラリを試すことが主目的でこのプロジェクトは作成された。

Example

$ cat foo.md
# foo

$a = b$, $a+b$, $\sin x + b$
$ do2im foo.md  # 出力ファイルを指定しない場合は標準出力される
# foo

\\(a = b\\), \\(a+b\\), \\(\sin x + b\\)
$ do2im foo.md -o output.md  # -o オプションでファイル出力
$ cat output.md
# foo

\\(a = b\\), \\(a+b\\), \\(\sin x + b\\)

LICENSE

MIT

About

dollar-convert-inline-math

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages