mayurankv / Obsidian-Code-Styler

A plugin for Obsidian.md for styling codeblocks and inline code
Other
248 stars 8 forks source link

Bug: 渲染错误 render error #212

Closed Tback1 closed 8 months ago

Tback1 commented 8 months ago

Describe the bug

image

Steps to reproduce

代码如下,可以直接测试:

我们来试一试,右键「书签栏」,选择【添加网页】选项,在往常我们会在网址一栏填写书签对应的网址(这就是 `href=""` 中的值),但现在我们在这一栏中填写 JS 代码:`{js icon title:foo} javascript:(function(){alert('你好')})()`

``` javascript
javascript:(function(){alert('你好')})()

Environment

Want Behavier

Screenshots

Hope it like the follow content image

Additional context

mayurankv commented 8 months ago

Thanks for the bug report! This is a parsing error in the inline code I've been meaning to fix! I'll try and get round to it soon sorry!

mayurankv commented 8 months ago

See #208 as well

Tback1 commented 8 months ago

No apologies, thank you for your hard work. Best wishes

mayurankv commented 7 months ago

I believe this should now be fixed and will be included in the next release. Currently working on another feature and will release as soon as that is done!

mayurankv commented 7 months ago

Released now!