Problems with the markdown preview in Emacs #8

Closed
opened 2026-03-05 17:59:55 +00:00 by Canglacial · 1 comment
Canglacial commented 2026-03-05 17:59:55 +00:00 (Migrated from codeberg.org)

Hi, Matt. I'm having problems with the Markdowns in Emacs (sorry for my poor English).

When I open a Markdown file, I get this error message:

Warning: setting attribute ‘:foreground’ of face ‘markdown-header-face-1’: nil value is invalid, use ‘unspecified’ instead. [2 times]
Warning: setting attribute ‘:foreground’ of face ‘markdown-header-face-2’: nil value is invalid, use ‘unspecified’ instead. [2 times]
Warning: setting attribute ‘:foreground’ of face ‘markdown-header-face-3’: nil value is invalid, use ‘unspecified’ instead. [2 times]
Warning: setting attribute ‘:foreground’ of face ‘markdown-header-face-4’: nil value is invalid, use ‘unspecified’ instead. [2 times]
Warning: setting attribute ‘:foreground’ of face ‘markdown-header-face-5’: nil value is invalid, use ‘unspecified’ instead. [2 times]
Warning: setting attribute ‘:foreground’ of face ‘markdown-header-face-6’: nil value is invalid, use ‘unspecified’ instead. [2 times]

And when I use the markdown preview (SPC m p) I get this:

Wrong type argument: commandp, my/markdown-live-preview

Hi, Matt. I'm having problems with the Markdowns in Emacs (sorry for my poor English). When I open a Markdown file, I get this error message: ``` Warning: setting attribute ‘:foreground’ of face ‘markdown-header-face-1’: nil value is invalid, use ‘unspecified’ instead. [2 times] Warning: setting attribute ‘:foreground’ of face ‘markdown-header-face-2’: nil value is invalid, use ‘unspecified’ instead. [2 times] Warning: setting attribute ‘:foreground’ of face ‘markdown-header-face-3’: nil value is invalid, use ‘unspecified’ instead. [2 times] Warning: setting attribute ‘:foreground’ of face ‘markdown-header-face-4’: nil value is invalid, use ‘unspecified’ instead. [2 times] Warning: setting attribute ‘:foreground’ of face ‘markdown-header-face-5’: nil value is invalid, use ‘unspecified’ instead. [2 times] Warning: setting attribute ‘:foreground’ of face ‘markdown-header-face-6’: nil value is invalid, use ‘unspecified’ instead. [2 times] ``` And when I use the markdown preview (SPC m p) I get this: `Wrong type argument: commandp, my/markdown-live-preview`
thelinuxcast commented 2026-03-08 06:26:08 +00:00 (Migrated from codeberg.org)

I've pushed a fix. It will require you to have pandoc and firefox installed. Though I think I've managed to let you use chromium as well, but I didn't test it.

codeberg.org/thelinuxcast/my-dots@b49dd2df94

I've pushed a fix. It will require you to have pandoc and firefox installed. Though I think I've managed to let you use chromium as well, but I didn't test it. https://codeberg.org/thelinuxcast/my-dots/commit/b49dd2df94844f02a663c1612119761e59b28d9c
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
thelinuxcast/my-dots#8
No description provided.