Releases: shd101wyy/vscode-markdown-preview-enhanced
0.8.5
0.8.4
0.8.3
0.8.2
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
fromMarkdown Preview Enhanced: Customize Css (Global)
and thestyle.less
fromMarkdown Preview Enhanced: Customize Css (Workspace)
will now be loaded. Thestyle.less
fromMarkdown 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
Updated crossnote to version 0.8.19.
Changes
- Deprecated the
processWikiLink
inparser.js
. Nowcrossnote
handles how we process the wiki link.
We also added two more options:wikiLinkTargetFileExtension
: The file extension of the target file. Default ismd
. 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 isnone
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
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 pressctrl+s
orcmd+s
to save the markdown file. You can also pressesc
to close the editor. -
Deprecated the VS Code setting
markdown-preview-enhanced.singlePreview
.
Now replaced bymarkdown-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)
andMarkdown Preview Enhanced: Customize Preview Html Head (Global)
, which will open thehead.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.
- Open VS Code Editor
-
Updated the mermaid version to the latest
10.5.0
-
Updated the
katex
version to0.16.9
. -
Added the API website: https://shd101wyy.github.io/crossnote/
Bug fixes
0.7.10
0.7.9
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
Updated crossnote to version 0.8.14
New features
- (Beta) Added the bitfield diagram support. Supported both
bitfield
andbit-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 thevue.css
theme.
0.7.7
Updated to crossnote 0.8.13
https://github.com/shd101wyy/crossnote/releases/tag/0.8.13
Bug fixes
- Fixed rendering MathJax in preview shd101wyy/crossnote#311.
- Fixed the preview background color shd101wyy/crossnote#312.
- Added error message when failed to parse the YAML front-matter. Also escaped the HTML rendered in the front-matter table in preview. shd101wyy/crossnote#312.