Skip to main content

Markdown

https://github.com/matiassingers/awesome-readme

https://docs.github.com/en/github/writing-on-github/basic-writing-and-formatting-syntax

Table

https://docs.github.com/en/github/writing-on-github/organizing-information-with-tables

Syntax highlighting, supported languages

css
elixir
java
javascript
json
jsx
markdown
python
shell, sh, zsh, bash - Shell scripting
sql
svg
xml - XML and also used for HTML with inline CSS and Javascript
yaml

Highlight Bash/shell code in Markdown files

In GitHub

Languages Supported by GitHub Flavored Markdown

https://docs.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting

We use Linguist to perform language detection and to select third-party grammars for syntax highlighting. You can find out which keywords are valid in the languages YAML file.

Languages YAML file: https://github.com/github/linguist/blob/master/lib/linguist/languages.yml

Hidden content with details

<details>
<summary>Visible part</summary>
This will be hidden until the user clicks the triangle
</details>
Details

Visible part This will be hidden until the user clicks the triangle