elixir-europe-training / ELIXIR-TrP-LessonTemplate-MkDocs

Template for ELIXIR Lessons
https://elixir-europe-training.github.io/ELIXIR-TrP-LessonTemplate-MkDocs/
Other
3 stars 4 forks source link

Apostrophes and other symbols not rendering correctly #26

Closed penyuan closed 1 year ago

penyuan commented 1 year ago

Hello,

We at the containers team have run into the problem where apostrophes and other symbols in our Markdown source files are rendered weirdly such as ’.

Is anyone else having this problem?

It took a while, but someone from the MKDocs repository helped me find the root of the problem. It is apparently in the main.html override block, where there's a missing line: {{ super() }}. Now our Markdown files are rendered correctly in the final output.

If it helps, I'm happy to submit a Pull Request to this repository with the fix?

GeertvanGeest commented 1 year ago

OK, perfect @penyuan ! Thanks for solving this. So I understand that the bioschemas json was replacing the file encoding at site_meta. You can submit a PR if you like!

penyuan commented 1 year ago

Thank you for your patience @GeertvanGeest, I've created GitHub Pull Request #27 with a proposed fix. Let me know if it works!