Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Titles not escaped properly break generation #166

Open
leohhhn opened this issue Apr 30, 2024 · 1 comment
Open

Titles not escaped properly break generation #166

leohhhn opened this issue Apr 30, 2024 · 1 comment

Comments

@leohhhn
Copy link
Contributor

leohhhn commented Apr 30, 2024

Description

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

  • This is a `title`
  • This is a title()
  • Characters disallowed in code, such as &

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
Copy link
Member

alexiscolin commented May 27, 2024

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants