# SOLVED: Troubleshooting Missing Syntax

**URL:** <https://zola.discourse.group/t/solved-troubleshooting-missing-syntax/1960>\
**Category:** Support\
**Created:** [December 7, 2023, 11:46pm UTC](https://zola.discourse.group/t/solved-troubleshooting-missing-syntax/1960 "2023-12-07T23:46:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FreeMasen](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/freemasen/32/1133_2.png) [@FreeMasen](https://zola.discourse.group/u/FreeMasen)\
**Post date:** [December 7, 2023, 11:46pm UTC](https://zola.discourse.group/t/solved-troubleshooting-missing-syntax/1960/1 "2023-12-07T23:46:15Z")

</div>

I am trying to follow the instructions on adding an additional syntax to my site but for some reason things aren’t lining up I am hoping someone can point me in the right direction.

I’ve updated my `config.toml` to have the entry `extra_syntaxes_and_themes = ["syntaxes"]`, and then setup that directory with my syntax.

```auto
tree ./syntaxes 
./syntaxes
└── llvm.sublime-syntax

```

where the contents of that syntax file has the following first few lines

```yaml
%YAML 1.2
---
# http: //www.sublimetext.com/docs/3/syntax.html
name: llvm
scope: source.ll

```

However when I use the code `llvm` on a code block I still get the following warning from zola for each code block I use this code on.

```auto
Warning: Highlight language llvm not found in blog/llvm_ir.md

```

I would have assumed that zola would map `llvm` to `syntaxes/llvm.sublime-syntax`, or use the `name` property of my syntax file to apply the styling. Is there something that I am missing? Is there a way to turn up the debug info on `zola build`? It doesn’t seem that either `RUST_LOG` or `--verbose` are available to see more information about why this might not be working.

---

<div class="post-metadata">

**Author:** ![FreeMasen](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/freemasen/32/1133_2.png) [@FreeMasen](https://zola.discourse.group/u/FreeMasen)\
**Post date:** [December 8, 2023, 8:17pm UTC](https://zola.discourse.group/t/solved-troubleshooting-missing-syntax/1960/2 "2023-12-08T20:17:31Z")

</div>

After some additional digging I realized that the configuration needs to be in the `markdown` table, so updating it to

```toml
[markdown]
extra_syntaxes_and_themes = ["syntaxes"]

```

fixed it!

---

<div class="post-metadata">

**Author:** ![saturn77](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/saturn77/32/142_2.png) [@saturn77](https://zola.discourse.group/u/saturn77)\
**Post date:** [February 16, 2024, 5:21am UTC](https://zola.discourse.group/t/solved-troubleshooting-missing-syntax/1960/3 "2024-02-16T05:21:27Z")

</div>

I had the same problem with a custom SystemVerilog.sublime-syntax and it simply would not work, even though I had it in the config.toml file. I think the documentation on the website should reflect this detail, that the extra\_syntaxes\_and\_themes = [“syntaxes”] should be in the [markdown] section of the config.toml file. This was very helpful, thanks.
