md2gost 1.5.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -13,6 +13,54 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
13
13
  ### Fixed
14
14
  ### Security
15
15
 
16
+
17
+ ## [1.6.0] - 2026-10-01
18
+ ### Added
19
+ - LaTeX formula support: inline `$…$` and display `$$…$$` formulas export as editable Office Math (OMML), with identifiers, automatic and manual numbering, formula references, `[!formulas]`, preview placeholders, and configurable `!!rule formula spacing before|after` offsets
20
+ - configurable `!!header` and `!!footer` blocks with text, Markdown tables, alignment, editor IntelliSense, and enhanced Markdown preview
21
+ - text var `[!page]` for current page
22
+ - unit and integration tests for Markdown parsing, enrichment, numbering, DOCX serialization, and utility functions
23
+ - Admonition blocks (`:::note`, `:::info`, `:::tip`, `:::warning`, and `:::danger`) with optional titles and attributes
24
+ - `!!rule admonition` directives to configure block spacing, indentation, padding, colours, left border, icons, and default titles
25
+ - Admonition support in editor completion, diagnostics, hover help, syntax highlighting, and enhanced Markdown preview
26
+ - source-line tracking for parsed Markdown nodes, so parser and conversion warnings and errors identify their originating line
27
+ - render warnings with a `Line N:` prefix are highlighted in the editor and shown in the Problems panel; affected diagnostics are cleared as the document is edited
28
+ - Markdown file includes (`!!(file.md){...}`) with nested includes, inherited typed variables, `{{variable.path}}` substitution, default values `{{name || "Empty name"}}` and `{{name ?? "No name"}}`, relative-path rewriting, npm API root variables, editor completion, highlighting, and preview
29
+ - template conditions (`{{#if ...}}`), loops (`{{#for ... in ...}}`), arithmetic, comparison and logical expressions, and whitespace-trimming markers for expressions and Markdown includes
30
+ - template execution limits through `MDRenderConfig.templateOptions` and VS Code settings for total loop iterations and include depth
31
+ - paste a clipboard image onto an existing Markdown image to create a numbered replacement file and update its path
32
+ - automatic non-breaking spaces for short words, element references, initials, dates, standards, addresses, and numbers with units
33
+ ### Changed
34
+ - reject output file extensions that do not match the selected render format
35
+ ### Deprecated
36
+ ### Removed
37
+ ### Fixed
38
+ - preserve table-of-contents links when PDF inserts precede the table of contents
39
+ - fix the ESM package entry point and asset directory resolution
40
+ - fix test compilation producing declarations instead of executable JavaScript
41
+ - prevent conflicting output paths from overwriting or deleting rendered PDF files
42
+ - escape document metadata before writing it to DOCX XML
43
+ - preserve leading and trailing whitespace in fenced code blocks
44
+ - align code highlighting with the VS Code Light+ palette and cover nested Prism tokens
45
+ - preserve disabled page numbering across section breaks
46
+ - report successful completion only after render errors have been checked
47
+ - avoid showing a successful render notification after PowerShell, VBA, or PDF errors
48
+ - fix macros on non-Russian system locales
49
+ - fix trailing commas parsing by using JSONC for parsing doc and include dictionary
50
+ - limit special section detection to H1
51
+ - fix inline fenced code handling
52
+ - fix table continuation title insertion
53
+ ### Security
54
+ - escape serialized table data embedded into the table editor webview
55
+ - open rendered files without passing their paths through a command shell
56
+ - update `image-size`, `docx`, and the transitive `nanoid` dependency to patched versions
57
+
58
+ ## [1.5.1] - 2026-09-18
59
+ ### Fixed
60
+ * expand tables to fill the width of landscape sections
61
+ * fix macros for paths containing UTF-8 characters
62
+ * switch Word to Print Layout view before processing pagination
63
+
16
64
  ## [1.5.0] - 2026-09-11
17
65
  ### Added
18
66
  - support docx/pdf file drop into editor (`editor.dropIntoEditor.enabled` user setting must be set to `true`)
@@ -251,4 +299,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
251
299
 
252
300
  ## [0.1.0] - 2026-02-13
253
301
  ### Added
254
- - basic functionality
302
+ - basic functionality