carpentries / lesson-development-training

Collaborative Lesson Development Training curriculum
https://carpentries.github.io/lesson-development-training/
Other
9 stars 17 forks source link

Rendering of code blocks in section titles in infrastructure lesson #346

Closed anenadic closed 3 months ago

anenadic commented 4 months ago

In episode https://carpentries.github.io/lesson-development-training/infrastructure.html code blocks for config.yml and README in section titles get rendered without blank space before them:

image image

This it likely due to the way code block in translated into HTML, where the blank space in the text just preceding code block is being wiped off:

image

The same goes for the text after the code block. The easy, if not elegant solution, would be to include an extra blank at the beginning and end of the code text, e.g. ` config.yml ` and ` README.md ` as then the blank spaced would end up inside the \ \ tags.

tobyhodges commented 3 months ago

This is a known bug in the Workbench, first reported at https://github.com/carpentries/sandpaper/issues/562

tobyhodges commented 3 months ago

I'm going to close this here, as it is being tracked in the sandpaper repo