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

conflict with Typst Renderer plugin #2

Closed
1 of 5 tasks
CatCodeMe opened this issue Mar 29, 2024 · 4 comments
Closed
1 of 5 tasks

conflict with Typst Renderer plugin #2

CatCodeMe opened this issue Mar 29, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@CatCodeMe
Copy link

Describe the bug
I use Typst Renderer plugin to render typst code . I find that's confict with obsidian-shiki-plugin

To Reproduce
Steps to reproduce the behavior:

  1. test code
```typst
#import "@preview/badgery:0.1.1": *

#menu("Menu", "Sub-menu", "Sub-sub menu", "Action")
\```
  • remove the \ in the end when copy demo code.

Expected behavior

  1. I hope this plugin could support more config , like exclude to ignore these code-block like typst or another 'language' like mermaid ?
  2. another question, I hope to support more config , like custom theme

Screenshots
If applicable, add screenshots to help explain your problem.
image

Occurs on

  • Windows
  • macOS
  • Linux
  • Android
  • iOS

Plugin version
latest version

Additional context
Add any other context about the problem here.

@CatCodeMe CatCodeMe added the bug Something isn't working label Mar 29, 2024
@mProjectsCode
Copy link
Owner

  1. I can add some exclude options
  2. the colors/theme is dependent on your obsidian theme. You can also override colors with a CSS snippet.

@CatCodeMe
Copy link
Author

  1. I can add some exclude options
  2. the colors/theme is dependent on your obsidian theme. You can also override colors with a CSS snippet.

thanks for your awesome work. Theme option is that I found there are some predefine themes, like github-light, in expressive code site. But use css-snippet also works.

@mProjectsCode
Copy link
Owner

Yes, EC allows for different themes, but I wrote some custom logic that makes it take the colors of your Obsidian theme.

@mProjectsCode
Copy link
Owner

I just added settings to disable the plugin for certain languages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants