Skip to content

Commit

Permalink
nit: remove mention of filename being more popular than title
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Nov 14, 2024
1 parent 4649f04 commit 6d818c9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rfcs/configure-file-name-from-block-meta.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ The syntax has roughly converged on the syntax looking like <code>\`\`\`lang key
It only specifies syntax like <code>\`\`\`jsx live style={{border: '1px solid red'}}</code>.

This RFC chooses `filename` over alternatives such as `title`.
`filename` appears to be the closest to a "popular" choice in existing projects today.
As noted in [docusaurus/discussions#10033 Choice of filename vs. title for codeblocks](https://github.com/facebook/docusaurus/discussions/10033), `filename` implies a source code file names, whereas `title` implies the visual display.

## Related Discussions
Expand Down

0 comments on commit 6d818c9

Please sign in to comment.