dsrkafuu / hugo-theme-fuji

A minimal Hugo theme with nice theme color. | 一个主题色极简 Hugo 主题。
https://github.dsrkafuu.net/hugo-theme-fuji/
Apache License 2.0
368 stars 98 forks source link

Considering support `$ ... $` as inline math #89

Closed Origami404 closed 2 years ago

Origami404 commented 2 years ago

Hello. I'm really impressed by your awesome theme and I decide use it as my blog theme. But it seems like the theme doesn't support using $ ... $ as inline math. I think this notation is quite popular and it will be awesome to have it supported.

Anyway, thanks you for creating such a beautiful theme.

dsrkafuu commented 2 years ago
[
  { left: "$$", right: "$$", display: true },
  { left: "\\[", right: "\\]", display: true },
  { left: "$", right: "$", display: false },
  { left: "\\(", right: "\\)", display: false },
]

Supported in v2.8.2.