imagejmacromarkdown icon indicating copy to clipboard operation
imagejmacromarkdown copied to clipboard

Generate markdown notebooks from ImageJ Macro

ImageJ Macro Markdown

ImageJ Macro MarkDown (IJMMD) is a Fiji plugin combining the benefits of the ImageJ Macro language with Markdown.

Image

It is thought for ease of generating tutorials for the ImageJ macro language. The plugin is in an early development stage. Feedback is very welcome.

Installation

  • Download and install Fiji
  • Start Fiji and go the menu Help > Update..., click on Manage Update Sites and activate the IJMMD update site. Install updates.
  • Restart Fiji.

Examples

Idea of IJMMD is that you can use markdown style text formatting in multi-line comments:

/*
# Headline
Here comes some markdown text
*/
print("Here comes ImageJ macro code");

Thus, .ijmmd files can be executed with the normal Fiji script editior. By switching the scripting language to ImageJ Macro Markdown, markdown.md and html files are generated when running the script.

Image

More examples can be found in the macro folder.

Happy coding.

Cheers, Robert @haesleinhuepf Haase