Skip to content

Releases: manuth/MarkdownConverter

MarkdownConverter v4.0.0

19 Sep 22:03
Compare
Choose a tag to compare

MarkdownConverter v4.0.0

Hello Everyone Who Still Sticks to MarkdownConverter!

Thank you so much for being patient for such a long time.
I finally managed it to fix all issues and add all features people asked for since the last version.

This here is another new major version which introduces a few breaking changes.

You can now control how assets are inserted, headers and footers are arranged correctly now.
Also, you can now set the content of the header and footer's sections easily through the settings.

Fixed

  • Broken asset-insertion
    This change fixes issue #60 - Thanks to @SjoerdV and @malustewart
  • Broken dependabot-settings
  • Broken release-notes creation
  • Drone pipeline-steps for multi-digit version-numbers
  • Vulnerabilities in dependencies
  • The Converter's handling of files containing accent letters
    This change fixes issue #61 - Thanks to @HughxDev and @damgot
  • The use of assets indicated with relative paths

Added

  • The extension to the Open VSX Registry
  • Support for loading the HeaderTemplate and the FooterTemplate from files by specifying a file-path as HeaderTemplate and FooterTemplate-attributes or markdownConverter.Document.HeaderTemplate and markdownConverter.Document.FooterTemplate settings
  • Support for specifying a metadata-template using the MetaTemplate-attribute or the markdownConverter.Document.MetaTemplate-setting
  • Support for overriding the document-title using the Title-attribute
    This change fixes issue #63 - Thanks to @orschiro
  • Support for parallel step-execution in drone-pipelines
  • A workflow for merging dependabot-PRs automatically
  • A workflow for analyzing the source-code
  • Support for the ts-nameof plugin
  • Support for printing error-messages to the converted document if an error occurred
  • A setting markdownConverter.Document.Design.Scripts for adding scripts to the document
  • Support for specifying a custom chromium executable-path using the markdownConverter.ChromiumExecutablePath-setting
    This change fixes issue #74 - Thanks to @tik9 and @orgwem
  • Support for specifying insertion-types for individual assets and specific link-types using the markdownConverter.Document.Design.StyleSheetInsertion, the markdownConverter.Document.Design.StyleSheets, the markdownConverter.Document.Design.ScriptInsertion and the markdownConverter.Document.Design.Scripts settings
    This change fixes issue #75 - Thanks to @richardy706
  • Support for setting the content of individual header- and footer-sections using the markdownConverter.Document.HeaderContent and the markdownConverter.Document.FooterContent settings and the Header and the Footer attributes
    This change fixes issue #57 - A huge thanks to @GGillan for the suggestion
  • Support for formatting date-values shorthand using code-snippets such as {{ CurrentDate "HH:mm:ss" }}
  • An error-message if no conversion-type (the markdownConverter.ConversionType-setting) is selected
  • Further paper-formats: A0, A1, A2, A6 and Ledger

Updated

  • Drone pipeline-steps to use smaller docker-images
  • The chromium-revision to 901912
  • All dependencies
  • Settings-schema for the better use in the settings-editor
  • The placement of header- and footer-items
    This change fixes issue #56 - Thanks to @GGillan
  • The descriptions of settings for better understanding
  • The README for better understanding
    This change fixes #68 - Thanks to @RoneoOrg
  • The ChainTask to add page-breaks between each chained document

Removed

  • Type-declarations (.d.ts-files) from release-builds

Show differences

MarkdownConverter v3.1.2

13 Oct 19:11
Compare
Choose a tag to compare

MarkdownConverter v3.1.2

Added

  • The webpack-configuration to the excluded files

Fixed

  • Broken release-creation

Updated

  • The conversion-process
  • All dependencies

Show differences

MarkdownConverter v3.1.1

13 Oct 18:37
Compare
Choose a tag to compare

MarkdownConverter v3.1.1

  • Fix broken Drone CI script

Show differences

MarkdownConverter v3.1.0

24 Sep 12:29
Compare
Choose a tag to compare

MarkdownConverter v3.1.0

  • Moved from gulp and browserify to webpack
  • Moved from mustache to handlebars in order to allow curly braces to be escaped

Updated

  • The development environment
  • The directory structure for improving the development-experience
  • The unit-tests
  • All dependencies
  • The conversion-process for better extensibility

Added

  • Support for passing arguments to the vscode-test instance
  • A component for intercepting vscode-settings
  • Cancellation-support for all tasks
  • A helper for formatting dates
    Dates can now be formatted with a custom format-string using this pattern: {{ FormatDate CreationDate "dd. MMMM yyyy" }}
  • Support for setting the document-wide date-format using the DateFormat attribute
  • Support for specifying custom date-formats using the markdownConverter.DateFormats option
  • A ChangeDate attribute for determining the date of the last change of the markdown-file
  • A CurrentDate attribute for determining the date of the conversion

Show differences

MarkdownConverter v3.0.2

26 Sep 21:45
Compare
Choose a tag to compare

MarkdownConverter v3.0.2

  • Fix issue #42 reported by @damgot
    • The conversion-process is now prevented from failing silently
  • Update all packages
  • Fix dependency-error
  • Improve the debug-experience
    • Source-maps now point to the correct source-files

Show differences

MarkdownConverter v3.0.1

16 Sep 13:28
Compare
Choose a tag to compare

MarkdownConverter v3.0.1

  • Drop any non-browserifiable dependency
  • Improve the build automation

Show differences

MarkdownConverter v3.0.0

14 Sep 23:48
Compare
Choose a tag to compare

MarkdownConverter v3.0.0

General

Hey Guys!

It's time for another big update once more, because I finally managed it to stuff all features I ever wanted into MarkdownConverter!
Though I'm still not that satisfied about the document-chaining feature but I'll find a way to improve this feature for sure.

Lots of things have changed in background. First I set up my own Drone CI Server which allows me to automatically check, test and also publish my projects.

MarkdownConverter is the very first project I'm trying to run using my CI-Server so please don't be mad if anything fails or something. 😅

Thanks to @damgot it's now possible to override the markdownConverter.Document.HeaderTemplate and markdownConverter.Document.FooterTemplate-settings by setting the HeaderTemplate and/or FooterTemplate front-matter attribute to a path to a file to load the template from.

The path is either relative to the workspace-folder, if present, or to the directory containing the document.

Another change is that my project now is compressed and merged into nearly a single file using browserify. This might make my extension run even faster.

Changes

  • Provide the functionality to override the header- and footer-template
  • Fix a few issues
    • The margin- and toc-settings are now loaded correctly
    • Self-contained html-files now can be converted on single-threaded environments
  • Improve performance
    • MarkdownConverter is now compressed using browserify.
  • Improve developer experience
    • The project is now built using gulp
  • The project is now automatically tested on manuth's Drone CI
  • Update all dependencies

Show differences

MarkdownConverter v2.0.2

31 Aug 01:53
Compare
Choose a tag to compare

MarkdownConverter v2.0.2

  • Fix malworking setting-parser

Show differences

MarkdownConverter v2.0.1

19 Aug 16:49
Compare
Choose a tag to compare

MarkdownConverter v2.0.1

  • Added missing dependencies

Show differences

MarkdownConverter v2.0.0

18 Aug 02:36
Compare
Choose a tag to compare

MarkdownConverter v2.0.0

General

It's about time to publish another more verbose release.
This time I put lots of effort into MarkdownConverter to finish some features I wanted to add for a long time.

One of the most notable things I think you might find very useful is
that the destination-path is now fully customizable using the DestinationPattern-option.
The DestinationPath and DestinationOrigin-options have been dropped in favor of said option.

You might want to set the DestinationPattern to whatever pattern to save your documents to, like, for example:

{
  "markdownConverter.DestinationPattern": "${workspaceFolder}/output/${dirname}/${basename}.${extension}"
}

Also, I finally added an option for converting all files at once and one for chaining all documents together.
These features make great use of the DestinationPattern-option as this makes very clear where to store converted files.

Another pretty nice thing is that now every single command reports each progress that's made.
This makes it easier to you to check whether the conversion's still running or what's causing trouble.

Continue reading to see what else changed.

Thank you guys for using MarkdownConverter and for keeping me motivated!
You guys are the best! 🎉

Breaking Changes

  • Added the DestinationPattern-option for specifying a pattern for resolving the destination-path
    You can use following epressions in the DestinationPattern:
    • ${workspaceFolder}:
      Either the path to the workspace, if any, or the directory which contains the document.
    • ${dirname}:
      The relative path from the ${workspaceFolder} to the directory which contains the document.
    • ${basename}:
      The name of the document-file without extension.
    • ${extension}:
      The file-extension of the destination-datatype.
    • ${filename}:
      The name of the document-file with its original extension.
  • Dropped DestinationPath and DestinationOrigin in favor of DestinationPattern

Other Changes

  • Prevented port-collisions when converting multiple files at once
  • Fixed the threading-issues by automatically disabling sandboxed mode if it fails
    Special thanks to @jkhsjdhjs for reporting and also fixing this issue
  • Improved the exception-handling
  • Improved the stability of the code
  • Added a command Convert All Documents for converting all markdown-documents in the current workspace at once
  • Added a command Chain All Documents for chaining all markdown-documents in the current workspace and convert them afterwards
  • Added a fix for loading the VSCodes markdown-it-instance
    Sadly VSCodes markdown-it-parser can only be loaded once a markdown-file has been opened.
    Thus a temporary, empty markdown-file will be opened once a conversion has started
    if the VSCode-parser has not been loaded yet.
  • Provided the functionality to convert to self-contained html-files
  • Added progress-report to every command

Show differences