4

I am doing a presentation using Marp. It automatically adds syntax coloring to blocks of code. For example this would be colored as Ruby:

```
def fun(x):
    x+1
end
```

I can force highlight.js to change the syntax highlighting like this:

```python
def fun(x):
    x+1
end
```

Is there a keyword which disables highlighting (something like none, default, code or unknown)?

4

According to this issue on GitHub it is possible and the keyword is text:

```text
def fun(x):
    x+1
end
```

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.