Reading — step 1 of 5
Read
~1 min readLists & Code
Code Blocks
Inline code:
Use `len()` to get length.
Use <code>len()</code> to get length.
Code blocks (fenced):
```python
def hello():
print("hi")
```
<pre><code class="language-python">def hello():
print("hi")
</code></pre>
Indented code blocks (4-space indent):
def hello():
print("hi")
Same <pre><code> output.
Inside code blocks:
- All markdown markers are LITERAL (not parsed)
- HTML special chars are escaped (
<→<,&→&,"→")
Fenced is preferred — clearer, supports language tags for syntax highlighting (highlight.js, Prism, Shiki).
Tilde-fenced is also valid: ~~~python ... ~~~ — useful when content has triple-backticks.
Discussion
Ask a question, share an insight, or help someone who’s stuck.
Sign in to post a comment or reply.
Loading…