Obsidian-Code-Styler
Obsidian-Code-Styler copied to clipboard
Feature Request: Hope it can be compatible with code emitter plugin
Hellos, thank you very much for your open source code style project🤩. As a person who needs to insert a lot of code in a document and is dissatisfied with the original style, I can no longer do without code style. However, when using another plugin code emitter, I found a style overlay problem. Here is the following request:
Summarys
Hope it can be compatible with code emitter plugin. The following is the project address of the code emitter plugin: https://github.com/mokeyish/obsidian-code-emitter
Basic example
Similar to compatibility with Execute code
Motivation
Execute code requires complex compiler installation and path configuration, while Code emitter does not require environment configuration and can be used directly, which is very convenient.
However, the code block style of code style does not work under the coverage of code emitter. I want to know whether code style can be compatible with code emitter plug-in in the future.
Existing Requests?
None
I'll try and do some testing but what's an overview of the style overlay issue?
I just ran into this problem myself so I can provide some context. With only Code Styler enabled everything renders like you'd expect.
When Code Emitter is enabled code blocks render like this.
Upon a cursory glance it seems that Code Emitter is replacing the code block element rather than adding it's content to the existing element, but admittedly I'm not much of a typescript person so I may have read it wrong.
Is there any console errors. I'm likely to release the refactor without this as there's a number of more urgent bugs that need to be fixed (trying to achieve feature parity). But this will be worked on. Any information will hopefully make this a quick and easy process!
There's no console errors from either plugin it seems. The only logs I get are from plugin load/unload.