Skip to content

MarkdownNotebookBridge v0.1.1 — First Public Beta

Pre-release
Pre-release

Choose a tag to compare

@reasonvoyager reasonvoyager released this 15 Oct 19:15
· 5 commits to main since this release

MarkdownNotebookBridge v0.1.1 — First Public Beta

Markdown → Mathematica Notebooks

MarkdownNotebookBridge is a Wolfram Language paclet for importing Markdown content from ChatGPT and other platforms directly into existing Mathematica notebooks as independently grouped, formatted research notes.

Unlike conventional Markdown-to-notebook conversion, imported headings become nested, collapsible Text cells rather than native Mathematica Chapters, Sections or Subsections. This preserves the existing notebook's organisation, styling and section numbering.

Key features

  • One-command import using BridgeMarkdown[].
  • Nested, collapsible Text-cell heading hierarchy.
  • Bold and italic prose formatting.
  • Typeset inline and display TeX mathematics.
  • Markdown tables containing mathematical expressions, rendered as readable Mathematica Grids.
  • Numbered lists that restart correctly.
  • Fenced code blocks imported as non-evaluatable Code cells.
  • Backwards-compatible InsertMarkdownFromClipboard[] command.

Installation and usage

Download MarkdownNotebookBridge-0.1.1.paclet from the Assets section below.

Install the downloaded file in Mathematica using PacletInstall[File["path-to-downloaded-file"]].

Then load the package and execute:

Needs["MarkdownNotebookBridge`"];

BridgeMarkdown[]

Copy Markdown text to the clipboard before evaluating BridgeMarkdown[] in the destination notebook.

Verification

Successfully tested with Mathematica 15.0.1 on Windows.

  • Seven Wolfram Language regression tests passed (7/7).
  • Successfully built and installed as a Wolfram paclet.
  • Successfully tested in fresh and existing Mathematica notebooks, including customised Dracula-themed notebooks.

The repository includes a self-demonstrating scientific Markdown example, screenshots and installation documentation.

Current limitations

  • Clipboard integration currently depends on Windows PowerShell.
  • Some light notebook themes may show poor contrast in non-evaluatable Code cells.
  • Advanced Markdown and LaTeX constructs are not yet fully supported.
  • Other operating systems and Mathematica versions have not yet been verified.

Project

Author: Andre Elan
GitHub: @reasonvoyager
Licence: MIT

Source, examples, documentation and tests: MarkdownNotebookBridge repository.

Feedback, bug reports and contributions are welcome through GitHub Issues.