jrblevin / markdown-mode

Emacs Markdown Mode
http://jblevins.org/projects/markdown-mode/
GNU General Public License v3.0
875 stars 160 forks source link

markdown-strike-through-face does not inherit attributes #832

Open ezapien opened 2 weeks ago

ezapien commented 2 weeks ago

The strike-through face appears in a different size than the default font in markdown-view-mode. After customizing markdown-strike-through-face with the following code in my theme.el:

(custom-theme-set-faces 'erik '(markdown-strike-through-face ((t (:strike-through "#fbffb1")))) )

The font appears with right strike-through color but in a different size than the default font (I have made my default face font larger than default).

Expected Behavior

In markdown-view-mode, size of strike thorugh text should be the same as default font as it should inherit attributes from the default face.

Actual Behavior

The font appears with right strike-through color but in a different size and font than the default face when in markdown-view-mode.

Steps to Reproduce

Customize markdown-strike-through-face and see how it doesn't inherit properties from default face in markdown-view-mode.

Software Versions

markdown-mode 2.7-Alpha emacs 29.3 Ubuntu 24.04