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/