Changelog

Dec. 25, 2023

v 1.5.0

- Support putting the preview on the right side of the editor.

March 17, 2023

v 1.4.0

- Added a settings page. You can now change the default mode and default export scale.
- Added a preview mode that only shows the image.
- Updated Mermaid to 10.0.2

Nov. 11, 2022

v 1.3.3

- Fix that the content may be incorrect if a block is included multiple times.

Nov. 2, 2022

v 1.3.2

1.3.2

- Update mermaid mode to better support multi-block editor. A really common use case is to put the directives in another block and include it back into the main block. Just do your customizations in the directives and reuse the saved file as a template.
- Fix that errors from mermaid directives could stop mermaid from working.
- Fix that font-awesome not displaying in mermaid mode.

1.3.0

This update is all about templates. Templates, especially those in HTML mode, can unlock MarkInside’s possibility by adding new features to the app without updating the code!

Check the templates we made here: https://markinside.intii.com/templates

### Multiple blocks

Now you can break the code in the file into many blocks. It helps a lot if you need to create a really complicated file but still want it to be readable and even reusable.

### Template language

A template language is added to help you transform and include a block into another. Please see the new tab in the side panel to see the detail.

### Installing templates (optional)

You don’t need to install a template to use it, just select `Use Template` from the menu bar and choose a MarkInside-generated image.

But installing brings better discoverability, and it's as easy as putting the file into a folder. We have added a `Template Collection` menu in the menu bar. You can use installed templates directly from there.

### Resize in HTML mode

Previously in HTML mode, you need to specify the width and height of the image ahead of time. But in normal life, HTML content’s size wouldn’t be known until it was rendered. Therefore, we provide a new `$markinside.resize` function for you to resize the image whenever you need.

### Other

- Tweaked UI, dark mode.
- HTML mode can not longer export to SVG. We may bring it back one day.
- Scripts in HTML mode will no longer need to have type module.
- Updated Mermaid to 9.1.7
- Updated MathJax to 3.2.2

Oct. 31, 2022

v 1.3.1

1.3.1

Fix that filter replace not working for special characters like line breaks.

1.3.0

This update is all about templates. Templates, especially those in HTML mode, can unlock MarkInside’s possibility by adding new features to the app without updating the code!

Check the templates we made here: https://markinside.intii.com/templates

### Multiple blocks

Now you can break the code in the file into many blocks. It helps a lot if you need to create a really complicated file but still want it to be readable and even reusable.

### Template language

A template language is added to help you transform and include a block into another. Please see the new tab in the side panel to see the detail.

### Installing templates (optional)

You don’t need to install a template to use it, just select `Use Template` from the menu bar and choose a MarkInside-generated image.

But installing brings better discoverability, and it's as easy as putting the file into a folder. We have added a `Template Collection` menu in the menu bar. You can use installed templates directly from there.

### Resize in HTML mode

Previously in HTML mode, you need to specify the width and height of the image ahead of time. But in normal life, HTML content’s size wouldn’t be known until it was rendered. Therefore, we provide a new `$markinside.resize` function for you to resize the image whenever you need.

### Other

- Tweaked UI, dark mode.
- HTML mode can not longer export to SVG. We may bring it back one day.
- Scripts in HTML mode will no longer need to have type module.
- Updated Mermaid to 9.1.7
- Updated MathJax to 3.2.2

June 4, 2022

v 1.2.4

- Fix that code editor was not loaded from local
- Update mermaid to version 9.1.1