Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhibbitts committed Jan 28, 2025
1 parent 71f5432 commit a7fc2cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ For example, here is a [Docsify Open Course Site hosted within a Canvas course](
---
**Including Code Blocks**
Using [Prismjs](https://prismjs.com/) code blocks with syntax highlighting is supported for the languages [included with Docsify](https://docsify.js.org/#/language-highlight?id=language-highlighting) and as well Bash, Go, Java, Kotlin, PHP, Python and Swift. To embed a code block use the Markdown standard of triple backticks and start the block with the name of the language, for example to embed a block of Javascript code with syntax highlight the following would be used:

<pre>
```javascript
function test() {
Expand All @@ -218,6 +219,7 @@ function test() {
console.log("Hello world!");
}
```

**Displaying Images in a Grid**
3 or more images can be transformed into a responsive grid gallery by including them in lists. For example:
```markdown
Expand Down

0 comments on commit a7fc2cd

Please sign in to comment.