logoalt Hacker News

moritzwarhiertoday at 5:13 PM0 repliesview on HN

I'd suggest "Caveat".

The problem

While an article lends a headline more weight, in incomplete phrases consisting solely of a substantive, "The" is a superfluous rhetorical device.

"The Exorcist" could just as well be named

"Exorcist".

But it was not the style at the time.

We already know it's important. If The Caveat doesn't stand out enough without The, maybe one should consider interleaving it with the preceding text, or increasing the heading level.

Do you want me to increase the heading level of Caveat by using only a single #?

But hear me out: there comes

# The Markdown Trap

In fact, this is not always possible, because heading levels decrease when adding # characters, which limits our headroom.

## The solution

I've implemented a Markdown transpiler that assigns inverted heading levels based on the number of #s.

With # beinh regular body font size, mapped to ######.

Higher heading levels are compiled to style attributes, providing an almost limitless signifikance scale and infinite nesting levels.

So from now on, you can use

  # Heading 
for something similar to an h6.

Work your way up to

  ###### The Caveat

for a top-level heading.

And more hash signs make it stand out even more.

(green checkmark)

markdown-transpiler.sh