Skip to content

Latest commit

 

History

History
260 lines (223 loc) · 8.16 KB

File metadata and controls

260 lines (223 loc) · 8.16 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog.

[Unreleased]

Added

Changed

Deprecated

Removed

Fixed

Security

[1.5.1] - 2026-09-18

Fixed

  • expand tables to fill the width of landscape sections
  • fix macros for paths containing UTF-8 characters
  • switch Word to Print Layout view before processing pagination

[1.5.0] - 2026-09-11

Added

  • support docx/pdf file drop into editor (editor.dropIntoEditor.enabled user setting must be set to true)
  • table editor: add new row when "tab" in last cell
  • auto-replace hyphens with Unicode non-breaking hyphens (\u2011) to prevent mid-word text wrapping between letters and numbers.
  • CLI options for configuring or disabling the file boundary check (--check-files-inside <path> and -x, --allow-files-outside)

Changed

  • Replaced the allowExternalFiles API option with checkFilesIsInsidePath, added symlink-safe path containment.

Fixed

  • table editor: fix `code` blocks chars replacment

[1.4.1] - 2026-09-07

Fixed

  • fix bug with image size (rem dev code from prev release)

[1.4.0] - 2026-09-06

Added

  • totalPagesOffset property of Doc to modify TOTAL_PAGES field value (!!rule isn't implemented yet)
  • make render process cancellable
  • add userInput error code to MDRenderError
  • add abortSignal property to MDRenderConfig
  • add allowExternalFiles property to MDRenderConfig
  • support page orientation (landscape/portrait) and disable numbering (unpaged) in !!section directive

Changed

  • !!section directive now accepts multiple optional parameters in any order (orientation and numbering)

Fixed

  • fix typos in readme
  • fix <br> display in image title in preview

[1.3.2] - 2026-07-12

Added

  • Directory Output Support: renderMarkdown now accepts directory paths for config.output, auto-generating the filename from the input file with the correct extension (.pdf/.docx).

Fixed

  • Fixed a bug where intermediate .docx path was returned even when removeIntermediateDocx was active.

[1.3.1] - 2026-07-09

Fixed

  • assert that macros are enabled for pdf output format
  • fix import in CLI

[1.3.0] - 2026-07-09

Added

  • NPM package support alongside the existing VS Code extension (dual distribution).
  • Command Line Interface (CLI) powered by commander.

[1.2.2] - 2026-05-27

Changed

  • allow simple list in "СПИСОК ИСПОЛЬЗОВАННЫХ ИСТОЧНИКОВ"

Fixed

  • fix macros on non-Russian system locales
  • add count of appendices in "РЕФЕРАТ"

[1.2.1] - 2026-05-23

Fixed

  • fix link parsing
  • fix sources list parsing
  • fix macros for large docs
  • fix AutoListingContinuation
  • fix count of elements in "РЕФЕРАТ"
  • keep table and code caption styles in continuations

[1.2.0] - 2026-05-21

Added

  • support Appendix section
  • new rules to configure styles
  • support multiline markdown comments
  • md2gost.completion.tableSeparator and md2gost.completion.listItem options to toggle text suggestions
  • md2gost.render.removeIntermediateDocx option to clean up temporary DOCX file after PDF generation

Changed

  • rename option md2gost.ui.enhancedMarkdownPreview to md2gost.ui.enhancedPreview
  • rename option md2gost.ui.disableHighlighting to md2gost.ui.enhancedHighlighting

Fixed

  • support for triple-backtick (```) blocks in paragraph text
  • AutoTableContinuation: dont left single row at page
  • fix formatter: skip text inside triple-backtick (```) blocks
  • fix formatter: keep em dashes inside "СПИСОК ИСПОЛЬЗОВАННЫХ ИСТОЧНИКОВ"
  • fix list formatting
  • fix json parsing in rendering to PDF
  • fix macros on non-Russian system locales
  • fix custom md syntax highlighting

[1.1.1] - 2026-05-10

Fixed

  • fix titles in Markdown preview

[1.1.0] - 2026-05-09

Added

  • new rules to configure styles
  • echance Markdown preview to support custom syntax
  • show warnings for uncorrect rules
  • add "open readme" button

Fixed

  • fix render of section without page numbers
  • enable table editor for all md files

[1.0.3] - 2026-04-26

Added

  • html codes: &laquo; &raquo; &lsaquo; &rsaquo; for « » ‹ ›

Fixed

  • fix quote replacement for non‑ASCII characters and punctuation after closing quotes
  • add missing intellisense
  • fix AutoListingContinuation

[1.0.1] - 2026-04-26

Fixed

  • convert &Star; to *

[1.0.0] - 2026-04-26

Added

  • intellisense (CompletionItem, InlineCompletionItem, Hover, InlayHints)
  • formatter
  • table editor
  • html codes for ~60 symbol (e.g. &pi; to π)
  • add AutoTableContinuation
  • feature: sources list
  • allow pdf in doc include

Changed

  • rule backtick_mono: off - no style now, added italic option instead

Fixed

  • fix one-column table parsing
  • allow table title without newline
  • signicantly speed up vba macros (up to 20 times)
  • fix (allow) svg images
  • fix metadata changes lost

[0.7.0] - 2026-04-07

Added

  • convert &Star; to *
  • table columns alignment with colon
  • parse `abc` as monotext, render as italic if backtick_mono is off (default)
  • new rule: !!rule backtick_mono <off/on/outline>
  • new rule: !!rule numbering lazy <off/on>

Fixed

  • fix disappearing stars due to text style parsing
  • fix list indent when >= 10 items
  • fix quotes replacing ("a "b" c": «a »b« c» to «a «b» c»)
  • fix docx include when not in the beginning
  • fix <br> duplication

[0.6.1] - 2026-03-10

Added

  • show what's new page on update

[0.6.0] - 2026-03-07

Added

  • autonumbering by [#], [ref_id]
  • refs by [ref_id] - allowed chars: a-z A-Z а-я А-Я ёЁ _ 0-9
  • text vars [!pages] [!imgs] [!tables] [!codes] [!sources]
  • new rules: !!rule numbering sections <on/off> !!rule numbering autoprefix <on/off>
  • fast render without postprocessing (hold alt when click render button)

Fixed

  • warn message if not win32 instead of error
  • black background with !!rule rainbow
  • fix img path from project root: treat /img.png as ./img.png
  • correct work with img path in <> like <img.png>

[0.5.2] - 2026-02-27

Fixed

  • detect ru/en language in text for correct markup
  • better error messages
  • stretch tables to full page width
  • dont crash if cant run PS or on PS error

[0.5.1] - 2026-02-18

Added

  • replacing --- with page break

Fixed

  • fix using absolute path for images and external doc
  • save .md file before rendering

[0.5.0] - 2026-02-18

Added

  • insert non-breaking space by &nbsp;
  • insert tab by &Tab;
  • prevent text stretching due to line breaks
  • new rule rainbow: !!rule rainbow
  • set in doc: edit time (random in 30-120), creation time (as in .md), modification time (now)
  • new rules: !!rule etime <int>, !!rule ctime <ISO 8601>, !!rule mtime <ISO 8601>

Fixed

  • fix doc include parsing
  • prevent empty image title

[0.4.0] - 2026-02-17

Added

  • new rule to set title of document: !!rule title My great title
  • new rule to set author of document: !!rule author My name

[0.3.1] - 2026-02-17

Fixed

  • syntax highlighting: remove bold style

[0.3.0] - 2026-02-17

Added

  • syntax highlighting in code blocks
    • is enabled by adding !!rule highlight code anywhere in file
    • suports: html, xml, css, js, ts, jsx, tsx, json, bash, powershell, python, java, c, cpp, csharp, go, rust, php, ruby, swift, kotlin, sql, yaml, markdown, docker, nginx

[0.2.1] - 2026-02-17

Added

  • replacing quotes: "abc" to «abc»

[0.2.0] - 2026-02-17

Added

  • break line by <br>
  • text decorations parsing: bold, italic, links

Fixed

  • disable row spliting in table

[0.1.7] - 2026-02-15

Fixed

  • fix AutoListingContinuation

[0.1.6] - 2026-02-15

Fixed

  • greatly fix PDF render

[0.1.5] - 2026-02-15

Fixed

  • list: dont auto-lower first char

[0.1.4] - 2026-02-15

Fixed

  • fix readme

[0.1.3] - 2026-02-15

Added

  • replacing "ai" dashes with common dash

Fixed

  • list: dont auto-lower first char if second is uppercase
  • ToC title uppercase
  • improve readme

[0.1.2] - 2026-02-13

Fixed

  • Correct parsing of tables and lists

[0.1.0] - 2026-02-13

Added

  • basic functionality