Skip to content
This repository has been archived by the owner on Feb 5, 2023. It is now read-only.

Ensure proper formatting of the code block #81

Open
robertjank opened this issue Nov 16, 2021 · 0 comments
Open

Ensure proper formatting of the code block #81

robertjank opened this issue Nov 16, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@robertjank
Copy link
Collaborator

This is a follow-up issue for issue #13 Ensure proper formatting of the title tag. See also issue #80 Ensure proper formatting of the legend tag.

Similar to the collapse blocks that contain a title tag, the code blocks contain a language tag:
--- code ---
---
language: python
---

Optionally, there are some additional tags:
--- code ---
---
language: python
filename: main.py
line_numbers: true
line_number_start: 11
line_highlights: 12
---

Everything within the block following the --- code --- line needs to stay in English. So not only the keywords (language, filename, etc.) should be corrected when necessary, but also the values (python, main.py, etc.).

@robertjank robertjank added the enhancement New feature or request label Nov 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant