gnolang / gno-by-example

Tutorials and snippets for learning Gno
https://gno-by-example.com
Apache License 2.0
4 stars 4 forks source link

Titles not escaped properly break generation #166

Open leohhhn opened 2 months ago

leohhhn commented 2 months ago

Description

As title says, some titles will break the tutorial generation script:

I propose we introduce a new field in the metadata - a tutorial ID, or slug, which will be unique to the section the tutorial is in, while keeping the title as a normal, quoted string to be displayed on the website.

alexiscolin commented 1 month ago

@leohhhn You must escape this kind of symbols with \ Do you have a wider example of code? My titles works well with your symbols. Maybe I don't see what you mean?

Capture d’écran 2024-05-27 à 21 53 58