Skip to content

[FR] Release a min version (new repo) #53

@LincZero

Description

@LincZero

It is hoped to create an organization for this purpose! @mProjectsCode

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
    Image
  • 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.

about link

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions