yinkakun / eleventy-duo

Eleventy Duo is a minimal and beautiful Eleventy theme for personal blogs.

Home Page:https://eleventyduo.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] Make Markdown's Bold Text Work

nezartarbin opened this issue · comments

Description

Currently, if you use the markdown syntax to make text bold, it does not work. The text looks the same.

Diagnosis

It looks like using the syntax does add the <strong> tag to text marked as bold by markdown. It looks like src/css/global.css sets the style for strong as font-weight: 500. Is there a reason this was done?

Implementation

Change the style for <strong> in src/css/global.css to something like font-weight: 900.

Alternatively, you can remove this part of the css and the bold text will appear like it should:

image