Skip to content

Releases: shd101wyy/vscode-markdown-preview-enhanced

0.8.5

10 Oct 15:27
790352e
Compare
Choose a tag to compare

Please note this version requires VS Code 1.82.0 or above.

Updated crossnote to version 0.8.24.

Bug fixes

  • Improved the handling of [toc]: #1825
  • Supported to set env variables in paths of configuration: #1826
  • Fixed the footer style: #1822
  • Fixed the bug of generating the header id: #1827
  • Fixed the bug of @import files that contains unicode characters: #1823
  • Now use node.js 18 for the project.

0.8.4

10 Oct 02:28
3862370
Compare
Choose a tag to compare

Updated crossnote to version 0.8.23.

Bug fixes

  • Fixed exporting reveal.js presentation.

0.8.3

10 Oct 01:19
778b257
Compare
Choose a tag to compare

Updated crossnote to version 0.8.22 and 0.8.22.

Bug fixes

  • Fixed a bug of loading image #1819
  • Fixed a bug of parsing slides #1818

0.8.2

09 Oct 14:59
e8876e1
Compare
Choose a tag to compare

Special Thanks to @mavaddat for creating the awesome extension logo for MPE in this pull request 🎉 We finally have a beautiful logo for MPE.

Updated crossnote to version 0.8.20 and 0.8.21.

New features

  • Supported prefix in front of Kroki diagram types #1785.
    So now all diagrams below will get rendered using Kroki:

    ```kroki-plantuml
    @startuml
    A -> B
    @enduml
    ```
    
    ```plantuml {kroki=true}
    @startuml
    A -> B
    @enduml
    ```
  • Improved the source map handling for @import "..." syntax.

Bug fixes

  • Exporting files no longer includes the source map.
  • Fixed some Reveal.js presentation related bugs:
  • Both the style.less from Markdown Preview Enhanced: Customize Css (Global) and the style.less from Markdown Preview Enhanced: Customize Css (Workspace) will now be loaded. The style.less from Markdown Preview Enhanced: Customize Css (Workspace) will have higher priority.
  • Fixed the bug where deleting config files from workspace did not update the preview.

0.8.1

06 Oct 14:55
2e20926
Compare
Choose a tag to compare

Updated crossnote to version 0.8.19.

Changes

  • Deprecated the processWikiLink in parser.js. Now crossnote handles how we process the wiki link.
    We also added two more options:
    • wikiLinkTargetFileExtension: The file extension of the target file. Default is md. For example:
      • [[test]] will be transformed to [test](test.md)
      • [[test.md]] will be transformed to [test](test.md)
      • [[test.pdf]] will be transformed to [test](test.pdf) because it has a file extension.
    • wikiLinkTargetFileNameChangeCase: How we transform the file name. Default is none so we won't change the file name.
      A list of available options can be found at: https://shd101wyy.github.io/crossnote/types/WikiLinkTargetFileNameChangeCase.html

Bug fixes

  • Reverted the markdown transformer and deleted the logic of inserting anchor elements as it's causing a lot of problems.
    The in-preview editor is not working as expected. So we now hide its highlight lines and elements feature if the markdown file failed to generate the correct source map.
  • Fixed the bug that global custom CSS is not working.

0.8.0

05 Oct 07:59
083116e
Compare
Choose a tag to compare

Updated crossnote to version 0.8.17 then version 0.8.18.

New features

  • 📝 Supported in-preview editor that allows you to edit the markdown file directly in the preview 🎉.
    This feature is currently in beta.
    When the editor is open, you can press ctrl+s or cmd+s to save the markdown file. You can also press esc to close the editor.

  • Deprecated the VS Code setting markdown-preview-enhanced.singlePreview.
    Now replaced by markdown-preview-enhanced.previewMode:

    • Single Preview (default)
      Only one preview will be shown for all editors.

    • Multiple Previews
      Multiple previews will be shown. Each editor has its own preview.

    • Previews Only 🆕
      No editor will be shown. Only previews will be shown. You can use the in-preview editor to edit the markdown.

      🔔 Please note that enable this option will automatically modify the workbench.editorAssociations setting to make sure the markdown files are opened in the custom editor for preview.

  • Added two new VS Code commands Markdown Preview Enhanced: Customize Preview Html Head (Workspace) and Markdown Preview Enhanced: Customize Preview Html Head (Global), which will open the head.html file for you to customize the <head> of the preview.

  • Supported to set attribute to image and link, e.g.:

    ![](path/to/image.png){width=100 height=100}
  • Improved the markdown transformer to better insert anchors for scroll sync and highlight lines and elements.
    Added more tests for the markdown transformer to make sure it works as expected.

  • Added the reading time estimation in the preview footer ⏲️.

  • Added Edit Markdown menu item to the context menu of the preview, which offers two options:

    • Open VS Code Editor
      Open the markdown file in VS Code editor.
    • Open In-preview Editor
      Open the markdown file in the in-preview editor.
  • Updated the mermaid version to the latest 10.5.0

  • Updated the katex version to 0.16.9.

  • Added the API website: https://shd101wyy.github.io/crossnote/

Bug fixes

  • Fixed the font size of the github-dark.css code block theme.
  • Fixed the anchor jump bugs: #1790
  • Fixed list item style bug: #1789
  • Fixed a data race bug that caused the preview to hang.

0.7.10

24 Sep 14:30
69bf19c
Compare
Choose a tag to compare

Updated crossnote to version 0.8.16

New features

  • Added head.html config file to allow you to include custom HTML in the <head> of the preview.
    This could be useful for adding custom CSS or JavaScript to the preview.

Bug fixes

  • Fixed the none.css preview theme bug #1778.
  • Fixed the bug of copying texts in preview #1775.
  • Added <code> in <pre> while rendering code blocks in preview.

0.7.9

17 Sep 14:54
47de69c
Compare
Choose a tag to compare

Updated crossnote to version 0.8.15

New features

  • Added the includeInHeader option, which allows you to include custom HTML in the <head> of the preview.
    This could be useful for adding custom CSS or JavaScript to the preview.

Bug fixes

  • Fixed the bug of missing the backlinks on the vue.css theme.
  • Fixed the back to top button. #1769

0.7.8

15 Sep 12:29
a48f8bb
Compare
Choose a tag to compare

Updated crossnote to version 0.8.14

New features

  • (Beta) Added the bitfield diagram support. Supported both bitfield and bit-field code fences. #1749
    ```bitfield {vspace=100}
    [
      {name: 'IPO',   bits: 8},
      {               bits: 7},
      {name: 'BRK',   bits: 5, type: 4},
      {name: 'CPK',   bits: 1},
      {name: 'Clear', bits: 3, type: 5},
      {               bits: 8}
    ]
    ```
    

Bug fixes

  • Fixed the vue.css theme bug that caused the missing scroll bar in the preview. Also fixed a context menu bug for selecting the vue.css theme.

0.7.7

15 Sep 09:17
9e12fc2
Compare
Choose a tag to compare

Updated to crossnote 0.8.13

https://github.com/shd101wyy/crossnote/releases/tag/0.8.13

Bug fixes