Skip to content

5.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 04 May 02:22
· 37 commits to main since this release

Bugfixes

  • Fix undefined tooltip value in header #355
  • Support space a space in container tag to unify the API with markdown-it #352

Breaking change

Images in markdown do not require base path anymore when used with website.options.siteRoot. This unified the API with the way URLs work.

- ![My image](/site/root/image.png)
+ ![My image](/image.png)

This is also true for website.options.appLogo

// magidoc.mjs
{
  website: {
    options: {
      siteRoot: '/site/root',
-     appLogo: '/site/root/logo.png'
+     appLogo: '/logo.png'
    }
  }
}