You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the new architecture, there are some things involved in modifying the content of the editor. A new warehouse might be needed to declare and avoid risks, avoid introducing risks.
Improvement of min version
Load Time: 714ms -> 19ms
The improvement in loading time only represents the environment of my computer. The degree of optimization varies among different devices
Size: 9.4MB -> 5.0KB
Function:
Most dependencies and functions have been removed. Only retain the characteristics:
The real-time mode uses the same code renderer as the reading mode (Obsidian's built-in PrismJS).
This makes them look more unified.
Real-time editing
raw version feat
In addition, new options have been added to the non-Min version:
Feat: Select the rendering engine: Shiki / PrismJS
By the way, when I saw a lot of PrismJS elements in the code, I felt that this plugin used prismjs before and only changed to shiki later?
Docs: Explain the differences among different renderers, and their additional functions.
Uh oh!
There was an error while loading. Please reload this page.
It is hoped to create an organization for this purpose! @mProjectsCode
obsidian-codeblock-enhance-min
, the new repository can help people download the min version via brat. (Just like one of my plugins: https://github.com/any-block/obsidian-any-block-min)Improvement of min version
The improvement in loading time only represents the environment of my computer. The degree of optimization varies among different devices
Most dependencies and functions have been removed. Only retain the characteristics:
This makes them look more unified.
raw version feat
In addition, new options have been added to the non-Min version:
By the way, when I saw a lot of PrismJS elements in the code, I felt that this plugin used prismjs before and only changed to shiki later?
about link
The text was updated successfully, but these errors were encountered: