Reading notes: a format demo
This post exists to show how the Markdown renders. The content is filler; the point is the formatting.
A code block
Here is a fenced code block. It should scroll horizontally on narrow screens rather than wrapping or overflowing the page:
def reduce_claim(observations):
"""Keep only what a second person could check."""
checkable = [o for o in observations if o.has_evidence]
checkable.sort(key=lambda o: o.strength, reverse=True)
return checkable[0] if checkable else None
You can also use inline code in the middle of a sentence, like a reference to
the pubDate field or a path such as src/content/blog/.
Lists
An unordered list of things worth re-reading:
- A note you wrote and already half-forgot.
- The one paragraph that changed how you saw a problem.
- Someone else’s write-up of a mistake you have not made yet.
An ordered list, for when sequence matters:
- Read the whole thing once without stopping.
- Read it again and mark every claim you cannot check.
- Go check one of them.
A quote
The first principle is that you must not fool yourself, and you are the easiest person to fool.
That is the whole demo. Delete this file whenever you like - it is only here to make the styling visible.