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
```
""" |
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,tsetc.should be python like:
or this code block should be yaml
like:
All reactions