Skip to content

Releases: adhunna/markdown-previewedit

Markdown PreviewEdit v0.3.1

Pre-release

Choose a tag to compare

@github-actions github-actions released this 13 Oct 19:47
fa0be61

First version on the VS Code Marketplace.

Changed

  • README: install from the VS Code Marketplace (search Markdown PreviewEdit), with the .vsix file as the alternative.
  • The Marketplace listing shows the extension as free and links questions to GitHub Issues.
  • docs/releasing.md explains how to upload a version to the Marketplace and Open VSX.

Markdown PreviewEdit v0.3.0

Pre-release

Choose a tag to compare

@github-actions github-actions released this 13 Oct 19:26
804d962

First public release.

Added

  • Format from the preview (A24). A new Edit Preview (pencil button on Markdown files, or "PreviewEdit: Open Edit Preview"). Select text and use the toolbar for:

    • text style and headings
    • bold, italic, strikethrough, underline, highlight, code, subscript, superscript and links
    • bulleted, numbered and task lists, quotes and alert types
    • UPPER, lower, Title and Sentence case
    • text colour, fill and size, and clear formatting

    Changes are written into the .md file as normal, undoable edits. See ADR-002.

  • Colours in exports. <span style> with text colour, background colour or font size is kept in HTML and PDF exports, and becomes coloured, shaded or resized text in Word.

  • An extension icon, a user guide, an architecture guide and a release guide.

  • Releases are built and published automatically, when a v* tag is pushed or when the Release workflow is run from the Actions tab.

Changed

  • New name: Markdown PreviewEdit (formerly MarkDownPreview), because the extension now edits as well as previews. The extension ID is adhunna.markdown-previewedit. Commands appear under PreviewEdit in the Command Palette, and settings moved from mdp.* to previewEdit.* (for example previewEdit.preview.theme). Settings from test builds must be set again.
  • Word export now understands inline HTML: tags are no longer printed as text, and HTML blocks keep their visible text.
  • Any CSS other than colour, background colour and font size (50–300 %) is removed from documents in all exports.

Fixed

  • An inline <span style="…"> was shown as literal text in HTML and PDF exports.

Security

  • Edit Preview messages are allowlisted and fully validated, and edits made against an older version of the document are refused (J04).
  • New hostile sample samples/malicious/css-injection.md; the Edit Preview renderer is tested against the whole hostile corpus.