Skip to content

Commit

Permalink
Disable Smartypants Markdown plugin
Browse files Browse the repository at this point in the history
SmartyPants is a Markdown plugin that converts:

- Straight and backtick-style quotes into β€œcurly” quote HTML entities
- Dashes (β€œ--” and β€œ---”) into en- and em-dash entities
- Three consecutive dots (β€œ...”) into an ellipsis entity

The result of this is inconsistent typography. Markdown and MDX pages
are converted, whereas `.astro` pages (like `about.astro`) are not.
This commit will disable SmartyPants.

https://daringfireball.net/projects/smartypants/
https://docs.astro.build/en/reference/configuration-reference/
  • Loading branch information
br3ndonland committed Jul 2, 2024
1 parent cc44af3 commit 0b8d33d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export default defineConfig({
shikiConfig: {
theme: "dracula",
},
smartypants: false,
},
site: "https://www.bws.bio",
})

0 comments on commit 0b8d33d

Please sign in to comment.