Closed phuhl closed 10 months ago
Could you try to use :extend
attribute as the below sample, please ?
(set-face-attribute 'markdown-pre-face nil
:foreground "black" :background "white" :weight 'bold
:extend t)
This is a screenshot that sets extend
attribute
That solved the issue, thank you!
Interestingly, for code blocks through indentation, this seems to resolve the issue only for every line but the last:
Any idea how this could be resolved?
It's impossible with the current implementation. I'm checking whether we can fix that and its side effects
I have merged #796. Please check latest version.
Seems like it works. Thanks again!
Expected Behavior
Org mode and most online Markdown visualizations show the background color for code blocks full width:
Org-mode:
Markdown rendered by Github:
Also, I personally find it easier to work with code in a block that is full width colorized.
Actual Behavior
Currently markdown mode applies
markdown-pre-face
only where text is within a code block:Should this be intended behavior, maybe a feature flag could be added to switch between viewing modes for code blocks.
Steps to Reproduce
markdown-pre-face
that is different from the rest:(custom-set-faces `(markdown-pre-face ((t :background "#ff0000"))))
Backtrace
n/a
Software Versions