Blog post "YAML best practices": Whitespaces after colon `:` and before hashtag `#` are not rendered

Open Beginner friendly
#266 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Quiet
Tech stack
yaml
Domain
documentation

Research direction

Start with blog/2025-07-20.md at the plain scalars section linked in the issue, then compare its generated rendering at the blog URL. Update the example or surrounding explanation so whitespace after : and before # is visible and the clarification is included; verify the rendered post matches the source.

Written by the indexing model from the issue text.

Description

Problem

The blog post about YAML best practices where it covers plain scalars does not render the whitespace after colon : and before hashtag #.

That makes it look like plain scalars cannot contain : and # at all, which is wrong.

Image

Solution

  • (If possible) make the whitespaces render in the blog post.
  • (Also) specify that whitespace after colon : and before hashtag #: A whitespace without that info can be misinterpreted.
Dominant language
Clojure
Stars
644
Forks
62
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from yaml/yamlscript

All issues in yaml/yamlscript

Similar issues

More Clojure issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.