obsidian-shiki-plugin
obsidian-shiki-plugin copied to clipboard
Could Inline Highlighting use the same Theme which select in the setting?
Could Inline Highlighting use the same Theme which select in the setting?
The effect is very abrupt
They are using the same theme. However if you select a custom theme in the plugin settings, the background color of that theme is applied to code blocks and not inline code blocks.
However if you select a custom theme in the plugin settings, the background color of that theme is applied to code blocks and not inline code blocks.
So the custom will not effect on the inline code block, it just mean "different theme"
The plugin now allows you to select two themes—one for when Obsidian is in dark mode, and one for when Obsidian is in light mode. As long as you don't use a dark code block theme with a light Obsidian theme (or the other way around), this should no longer be an issue.
Is it possible to have a dark code theme apply to an inline code block when using light mode? I was running into this issue when trying to print my files, since Obsidian switches to light mode when exporting to PDF. It is annoying to have the inline code blocks unreadable in the pdf, when the multiline code blocks work just fine.