Replies: 1 comment
-
You can use triple-backticks fences with the language name: class SomeClass:
"""Summary.
Examples:
```python
print("this is some Python code")
```
```yaml
this: is some YAML
```
""" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Sometimes i want it to be
python
, sometimesyaml
,js
,ts
etc.should be python like:
or this code block should be yaml
like:
Beta Was this translation helpful? Give feedback.
All reactions