Strikethrough text in title and body

Is it possible to have strikethrough text in the title and body of a post?

Ulysses supports writing this through the use of “~~” but I can’t seem to get it to display as strikethrough when I publish. I’m holding it wrong I guess.

Any help appreciated.

I use ~~ for strikethrough all the time, at least in the body of my documents. I haven’t used it in a title. (Although I’m fairly certain it works there too.)

You do have to start and finish the text with ~'s like this: ~~like this~~.

The reason I haven’t used it in a title is Hugo bases post slugs on the title. While I think tildes are filtered out when creating a slug, I don’t want to take the risk they aren’t.

Yes, I’m aware of how to use it in body text.

Can it be done on the post title?

Can [strikethrough] be done on the post title?

Yes and no. :blush:

Yes, on your blog you’re in control and could adjust your templates to render Markdown for titles.

But, no, the rest of the Micro.blog system treats titles as plain text, so you would see ~~ instead of actual strikethrough text in many places.

Title is really best as plain text, in my opinion. In RSS feeds, for example, many feed readers aren’t going to know what to do with HTML in the title.

1 Like