Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ezapien opened this issue Jun 20, 2024 · 0 comments
Open

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

ezapien opened this issue Jun 20, 2024 · 0 comments

Comments

@ezapien
Copy link

ezapien commented Jun 20, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant