All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
- 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
- support docx/pdf file drop into editor (
editor.dropIntoEditor.enableduser setting must be set totrue) - 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)
- Replaced the
allowExternalFilesAPI option withcheckFilesIsInsidePath, added symlink-safe path containment.
- table editor: fix
`code`blocks chars replacment
- fix bug with image size (rem dev code from prev release)
- totalPagesOffset property of Doc to modify TOTAL_PAGES field value (
!!ruleisn't implemented yet) - make render process cancellable
- add
userInputerror code toMDRenderError - add
abortSignalproperty toMDRenderConfig - add
allowExternalFilesproperty toMDRenderConfig - support page orientation (
landscape/portrait) and disable numbering (unpaged) in!!sectiondirective
!!sectiondirective now accepts multiple optional parameters in any order (orientation and numbering)
- fix typos in readme
- fix
<br>display in image title in preview
- Directory Output Support:
renderMarkdownnow accepts directory paths forconfig.output, auto-generating the filename from the input file with the correct extension (.pdf/.docx).
- Fixed a bug where intermediate
.docxpath was returned even whenremoveIntermediateDocxwas active.
- assert that macros are enabled for pdf output format
- fix import in CLI
- NPM package support alongside the existing VS Code extension (dual distribution).
- Command Line Interface (CLI) powered by
commander.
- allow simple list in "СПИСОК ИСПОЛЬЗОВАННЫХ ИСТОЧНИКОВ"
- fix macros on non-Russian system locales
- add count of appendices in "РЕФЕРАТ"
- 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
- support Appendix section
- new rules to configure styles
- support multiline markdown comments
md2gost.completion.tableSeparatorandmd2gost.completion.listItemoptions to toggle text suggestionsmd2gost.render.removeIntermediateDocxoption to clean up temporary DOCX file after PDF generation
- rename option
md2gost.ui.enhancedMarkdownPreviewtomd2gost.ui.enhancedPreview - rename option
md2gost.ui.disableHighlightingtomd2gost.ui.enhancedHighlighting
- 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
- fix titles in Markdown preview
- new rules to configure styles
- echance Markdown preview to support custom syntax
- show warnings for uncorrect rules
- add "open readme" button
- fix render of section without page numbers
- enable table editor for all md files
- html codes:
« » ‹ ›for« » ‹ ›
- fix quote replacement for non‑ASCII characters and punctuation after closing quotes
- add missing intellisense
- fix AutoListingContinuation
- convert
⋆to*
- intellisense (CompletionItem, InlineCompletionItem, Hover, InlayHints)
- formatter
- table editor
- html codes for ~60 symbol (e.g.
πtoπ) - add AutoTableContinuation
- feature: sources list
- allow pdf in doc include
- rule
backtick_mono:off- no style now, addeditalicoption instead
- 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
- convert
⋆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>
- 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
- show what's new page on update
- 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)
- warn message if not win32 instead of error
- black background with
!!rule rainbow - fix img path from project root: treat
/img.pngas./img.png - correct work with img path in
<>like<img.png>
- 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
- replacing
---with page break
- fix using absolute path for images and external doc
- save .md file before rendering
- insert non-breaking space by
- insert tab by
	 - 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>
- fix doc include parsing
- prevent empty image title
- new rule to set title of document:
!!rule title My great title - new rule to set author of document:
!!rule author My name
- syntax highlighting: remove bold style
- syntax highlighting in code blocks
- is enabled by adding
!!rule highlight codeanywhere 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
- is enabled by adding
- replacing quotes: "abc" to «abc»
- break line by
<br> - text decorations parsing: bold, italic, links
- disable row spliting in table
- fix AutoListingContinuation
- greatly fix PDF render
- list: dont auto-lower first char
- fix readme
- replacing "ai" dashes with common dash
- list: dont auto-lower first char if second is uppercase
- ToC title uppercase
- improve readme
- Correct parsing of tables and lists
- basic functionality