Use ".. code:: language" syntax for code blocks in rst files
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- documentation
Research direction
Start by comparing code blocks in the reStructuredText documentation with the code:: c examples in doc/guide/plugin.rst. Find blocks marked with :: and check which language each contains. Done means those blocks use .. code:: language syntax and show syntax highlighting in VSCode and GitHub.
Written by the indexing model from the issue text.
Description
Within VSCode and github, code blocks in rst files marked with :: do not show any syntax highlighting. This is true even when .. highlight:: python is included at the top of the .rst file (tested in VSCode, not in github).
Using .. code:: language for code blocks provides syntax highlighting work in both VSCode and in github. See for example the code:: c blocks in plugin.rst.
- Dominant language
- Python
- Stars
- 23
- Forks
- 32
- Avg merge
- 7d 20h
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SasView/sasmodels
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
SasModels Infrastructure SasView coordination
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Documentation SasModels Infrastructure
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
SasModels Infrastructure
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 3/5 Half a day Newbie friendliness 35/100
All issues in SasView/sasmodels
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
common-workflow-language/cwl-utils#477 ·
Maintainers usually reply within 1 day
-
Add dependabotOpenfeat
Difficulty 2/5 Under an hour Newbie friendliness 72/100
open-nudge/opentemplate#204 ·
Maintainers usually reply within 1 day
-
github-stale-ci-pr-closer: KV state is double-wrapped, never persists, and hits the depth-32 limitPossibly taken @VascoSch92 claimed this today. Openpriority:medium ready-for-dev
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
OpenHands/extensions#781 ·
Maintainers usually reply within 1 day
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
curriculum documentation quality
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
githubnext/gh-aw-workshop#4638 ·
Maintainers usually reply within 1 day