I followed the instructions provided in this link Mathematics in markdown | Hugo to use a certain mathematical functionality. However, it did not work for me when I applied it to the Shadocs theme. I wanted to know if there are any specific requirements that I need to know to use this functionality with this theme.
Please note that I am new to this and may not be proficient. Thank you for your understanding.
Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick git clone on your repo, then run hugo server in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.
If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.
When I copied
cp themes/shadocs/layouts/partials/main.html layouts/partial/main.html
and added math argument in main.html
{{ if .Param “math” }}
{{ partialCached “math.html” . }}
{{ end }}