3 ms·
This is also how you handle adding code blocks in GitHub comment suggestions, fwiw. ````suggestion This example should instead be: ```basic 10
by starkparker 9mo ago
This is also how you handle adding code blocks in GitHub comment suggestions, fwiw.
````suggestion
This example should instead be:
```basic
10 PRINT "LOL"
20 GOTO 10
```
````
- Helmut10001 9mo agoYes, this is also how JupyterBook [1] does it (I think v1 uses Myst Markdown parser). I found this to work excellent! [1]: https://jupyterbook.org/ https://jupyterbook.org/
- behnamoh 9mo agowhat if you want to show ````? should you add ````` tags then?
- zahlman 9mo agoYes; TFA contains enough explanation to make it clear how to extend this arbitrarily. See also https://meta.stackexchange.com/questions/82718 https://meta.stackexchange.com/questions/82718 .
- culi 9mo agoDoes this work with arbitrary depth? Can I do `````ts const Accordian = styled.details<{ isAprilFirst: boolean; }>` ````css accent: rebeccapurple; font-family: ${ ```js props => props.isAprilFirst ? 'Comic Sans' : 'Time New Roman' ``` }; ```` `; `````
- hun3 9mo agoSure, as long as you don't run out of `s