Skip to content

Commit

Permalink
Fix typo in getting-started grammar (#198)
Browse files Browse the repository at this point in the history
* Fix typo in getting-started grammar

* Make code blocks vertically scrollable
To make it possible to read the docs on a phone
  • Loading branch information
VitGottwald committed Oct 19, 2023
1 parent 13d90e5 commit 994182f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hugo/content/docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Here's the grammar that parses the previous text snippet:
grammar HelloWorld
hidden terminal WS: /\s+/;
terminal ID: /[_a-zA-Z][\w_]*/;
terminal ID: /[_a-zA-Z][\w]*/;
entry Model: (persons+=Person | greetings+=Greeting)*;
Expand Down
4 changes: 4 additions & 0 deletions hugo/static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,10 @@ h4 {
font-size: 1.125rem;
}

.gdoc-markdown pre code {
overflow-x: scroll;
}

.gdoc_heart {
margin-left: 5px;
}
Expand Down

0 comments on commit 994182f

Please sign in to comment.