TOC depth and line wrapping in code blocks

Hello, all. I’ve been using Fastpages for about a month now (https://olearydj.github.io/antisimplistic/), and it has been a great experience. I have two questions:

  • Is it possible to disable line wrapping inside markdown code blocks?
  • Is there a way to limit the TOC depth for markdown pages?

I’ve googled both of these but both took me down rabbit holes that are beyond my understanding. I’m hoping there is a way to address them in the fastpages context, or with simple HTML / CSS.

Thank you for any suggestions you might have.
Dan

You will have to edit the CSS of the site to achieve this. I’m not sure off hand how to do it, but if you play with it and tweak it enough should be doable.