Here is the summary of the changes/fixes that are ready to go - just in case any of them are impacting you:
New features
-
A new
--syntax-highlight-heightCSS variable has been added to allow the maximum height of syntax-highlighted blocks to be set. If the content exceeds this height, it becomes scrollable. This is useful for preventing very large blocks of content from taking up too much space on the page. The default value is22em, but you can set it to whatever you like in your CSS. You can check out its use on the Variables page in the Markweb demo where the height is reduced to9em. -
For Markweb, there is a new
uibuilder.markwebEventvariable. Currently, this is only set/updated on page-navigation. It shows the old and new URL's. The Variables page in the Markweb demo has been updated to show how to use this.
Bug fixes & tweaks
-
When the runtime plugin is loaded by Node-RED, the
uibRootfolder should be in 1 of 3 possible places. An overridden location (uibuilder.uibRootinsettings.jsif provided),<userDir>/<uib.moduleName>(e.g. commonly~/.node-red/uibuilder), or<userDir>/projects/<currProject>/<uib.moduleName>if Node-RED projects are being used. The last of these was not working correctly. This is now fixed. In addition, the logic for determining theuibRootlocation has been tidied up and made more robust. Reference. -
Markweb:
- Various demo page content clarified and tidied up.
- The navigation menu shows a left-hand border for the current page. This was appearing outside a folder twisty icon which looked odd. Now improved, the border is inside the icon.
- Navigation and index lists were showing folders that had no index.md file and so clicking on the folder would result in a 404 not found page. Now fixed, folders with no index page are hidden as per the design requirements.
- Navigating with the back button to a URL containing an anchor hash link was not working consistently. Now fixed.
-
For some users, the Markweb was reporting 0 files to be indexed. This appears to be due to the
ignoreparameter passed tofgSync(which uses fast-glob). Ref.