}
func TestToMath(t *testing.T) {
- t.Parallel()
-
files := `
-- hugo.toml --
disableKinds = ['page','rss','section','sitemap','taxonomy','term']
func TestToMathError(t *testing.T) {
t.Run("Default", func(t *testing.T) {
- t.Parallel()
-
files := `
-- hugo.toml --
disableKinds = ['page','rss','section','sitemap','taxonomy','term']
})
t.Run("Disable ThrowOnError", func(t *testing.T) {
- t.Parallel()
-
files := `
-- hugo.toml --
disableKinds = ['page','rss','section','sitemap','taxonomy','term']
})
t.Run("Handle in template", func(t *testing.T) {
- t.Parallel()
-
files := `
-- hugo.toml --
disableKinds = ['page','rss','section','sitemap','taxonomy','term']
}
func TestToMathBigAndManyExpressions(t *testing.T) {
- t.Parallel()
-
filesTemplate := `
-- hugo.toml --
disableKinds = ['rss','section','sitemap','taxonomy','term']
<span class="katex"><math
`)
})
-
- //
}
func TestToMathMacros(t *testing.T) {
- t.Parallel()
-
files := `
-- hugo.toml --
disableKinds = ['page','rss','section','sitemap','taxonomy','term']