antegre.com
Work:Docs/markdown.datatype.guide

markdown.datatype

Version 1.2.1 (30.11.2026) · AmigaOS 3.2+ · 68020+ · RTG recommended · Freeware

markdown.datatype shows Markdown documents (.md, .markdown) in MultiView and in every other AmigaOS program that uses datatypes, the way GitHub or the preview of VS Code show them. You do not see plain text full of stars and hashes, but headings, lists, tables, coloured code, pictures and links you can click.

New in 1.2.1: everything it needs for TrueType text and colour emoji comes in the package, and it has a preferences program.

Download 1.2.1: markdown_dt.lha (about 10.6 MB, most of it is the emoji font) · readme · GitHub release · project page: github.com/Sdursun/markdown_datatype
Aminet: util/dtype/markdown_dt still has 1.0; 1.2.1 will follow there.
AmigaOS 3.2 Workbench: the markdown_dt drawer, its Demo drawer with Markdown icons, and MultiView showing Demo.md with a banner picture, a heading and links
AmigaOS 3.2.3 Workbench: the markdown_dt drawer, its Demo drawer with Markdown icons, and MultiView showing Demo.md.

What is it?

Markdown is the plain text format of README files, notes and documentation. On the Amiga such a file used to open as raw text. With this datatype installed, a double click on a .md file opens it in MultiView as a formatted document.

  • The text is wrapped again when the window is resized, and wide pictures are scaled down to the window.
  • Layout and drawing run in their own process, so MultiView stays responsive.

It uses the same Markdown engine as LMChat, the chat program for local AI models.

Version
1.2.1, 30 November 2026 (1.0 of 14 November 2026 is on Aminet)
System
AmigaOS 3.2 or newer, 68020 or better
Files
.md, .markdown, in MultiView and every datatypes program
Text
UTF-8, TrueType and colour emoji with freetype2.library and harfbuzz.library (in the package)
Settings
MarkdownPrefs (MUI), or a text file
Tested on
AmigaOS 3.2.3 in WinUAE (68060, UAEGFX) and an A1200 with PiStorm/Emu68 (RTG 1920×1080)
Languages
English and Turkish
License
Freeware, closed source

Highlights

  • Headings in six levels; bold, italic, struck out text, inline code, keys (<kbd>), <mark>, <ins>, <sup>, <sub>; horizontal rules and hard line breaks
  • Bullet, numbered and task lists, nested in any depth. Numbers go 1. / i. / a. as on GitHub.
  • Tables with column alignment, also HTML <table>s. Long cells are wrapped inside their column.
  • Code blocks in a box with syntax colours (C/C++, Python, JavaScript/TypeScript, Java/C#, Rust, Go, shell, SQL, Lua, PHP, 68k assembler) and a Copy button. Long lines are wrapped with a mark.
  • Pictures (PNG with alpha, JPEG and every format you have a datatype for):
    • scaled to the window, centred, or inside a line of text (badges, icons), also as links;
    • pictures from the web (http, and https with AmiSSL 5).
  • Links:
    • web addresses open the browser (openurl.library, or a browser you name);
    • #heading links and HTML anchors scroll;
    • other.md#heading opens the file at that heading, and an open window is brought to the front;
    • e-mail addresses are links;
    • links to programs start them after asking.
  • Block quotes and GitHub alerts ([!NOTE], [!TIP], [!IMPORTANT], [!WARNING], [!CAUTION])
  • Footnotes [^1] with links both ways, and <details> sections that open and close with a click
  • Text can be marked with the mouse word by word (a double click marks a word). MultiView's Copy puts it into the clipboard as plain text, and Save As writes the Markdown source.
  • Full UTF-8 text with TrueType fonts and colour emoji. Flags, skin tones and families are one picture each (FreeType and HarfBuzz).
  • Included: freetype2.library and harfbuzz.library (from AAText), the DejaVu fonts and two colour emoji fonts (Noto Color Emoji and Twemoji Mozilla). EmojiGear is no longer needed.
  • MarkdownPrefs, a preferences program (MUI) with a Turkish catalog
  • A default icon for Markdown files and the file type for DefIcons
  • Installer (English and Turkish) that installs, updates and removes

What is new since 1.0

1.0 came out on Aminet on 15 November 2026. Two test versions followed, 1.1 and 1.1.1, sent to testers. Their reports, among them a detailed comparison with GitHub by the author of Dash, shaped 1.2.1.

1.2.1 (30 November 2026)

  • Engine: text and emoji are drawn with freetype2.library and harfbuzz.library. Both are in the package with the fonts, so EmojiGear is no longer needed. Flags, skin tones and families are one emoji each.
  • Pictures:
    • pictures inside a line of text, also as links;
    • pictures from the web (http, https with AmiSSL 5), kept until the next reboot;
    • PNG pictures with one transparent colour were drawn on black: fixed.
  • Links:
    • other.md#heading;
    • e-mail addresses;
    • a link back to an open document brings its window to the front;
    • links to programs (ask first; scripts are never started);
    • a browser and mailer can be set for systems without openurl.
  • More of GitHub:
    • HTML tables;
    • footnotes;
    • <details> that open and close;
    • <mark>, <ins>, <sup>, <sub>, ~single tilde~;
    • <div align="right">;
    • quotes and code inside list items;
    • quotes that go on without >;
    • H5/H6 smaller, <kbd> drawn as a key, i./a. numbering, square bullets.
  • Code:
    • code without a language has no colours;
    • indented code has Copy too, and Copy says “Copied”;
    • long lines are wrapped with a mark.
  • Marking word by word instead of line by line; a double click marks a word.
  • MarkdownPrefs, a preferences program (MUI 3.8 or newer).
  • The installer:
    • installs the libraries only when the installed ones are older, and takes the 68060 builds on a 68060 with FPU;
    • copies fonts only when they are missing;
    • Remove keeps the shared libraries and fonts.

1.1.1 (25 November 2026, testers only)

  • Text can be marked with the mouse and copied. MultiView's Copy, Save As and Clear Selected menus work (they were disabled in 1.0).
  • Closer to GitHub:
    • bold, code and links inside headings;
    • stars without a partner stay text;
    • links to ../file.md;
    • the second heading of the same name (#name-1);
    • 1. [x] keeps its number;
    • all Latin-1 entities.
  • The installer names the picture datatype it did not find.

1.1 (24 November 2026, testers only)

  • Links to HTML anchors: [text](#name) goes to <a id="name">, <h2 id="name"> and the like.
  • Headings that are code (### `function(x)`) are drawn as headings.

A tour

All screenshots show Demo/Demo.md from the package in MultiView, on AmigaOS 3.2.3 (WinUAE, Picasso96). Click a picture to enlarge it.

Headings, a banner picture, badges, bold, italic, struck out text, code and keys
Headings, a banner picture, badges, bold, italic, struck out text, code and keys.
Nested bullet and numbered lists (1. / i. / a.) and a task list
Nested bullet and numbered lists (1. / i. / a.) and a task list.
A table with aligned columns and wrapped cells, and an HTML table
A table with aligned columns and wrapped cells, and an HTML table.
Code blocks with syntax colours and the Copy button
Code blocks with syntax colours and the Copy button.
A PNG chart with a transparent background and a JPEG scaled to the window
A PNG chart with a transparent background and a JPEG scaled to the window.
Pictures in a line of text, the three kinds of PNG transparency, and a picture from the web
Pictures in a line of text, the three kinds of PNG transparency, and a picture from the web.
Block quotes and the five GitHub alerts
Block quotes and the five GitHub alerts.
The kinds of links: web, e-mail, headings, anchors, other documents, programs
The kinds of links: web, e-mail, headings, anchors, other documents, programs.
A &lt;details&gt; section opened with a click, and footnotes
A <details> section opened with a click, and footnotes.
Text marked with the mouse, ready for Copy
Text marked with the mouse, ready for Copy.
MarkdownPrefs, the preferences program (MUI)
MarkdownPrefs, the preferences program (MUI).
The installer (AmigaOS Installer, English and Turkish)
The installer (AmigaOS Installer, English and Turkish).

Requirements

Please read first The datatype can be copied to any AmigaOS 3.x system, but it only works as described on the systems below. On others it may be installed and still not work correctly: documents may open as plain text, without pictures, or not at all. The installer checks what it can and lists what it did not find.

Needed

  • AmigaOS 3.2 or newer (developed and tested on 3.2.3; not tested on 3.1, 3.5 and 3.9)
  • 68020 or better (it is 68020 code and crashes on a 68000/68010)
  • Free memory: the page is drawn into a bitmap of the window's size

In the package, installed with it

  • freetype2.library 2.15.0.10 and harfbuzz.library 15.1.0.3 (AAText):
    • the installer copies them only when the installed ones are older;
    • it takes the 68060 builds on a 68060 with FPU;
    • an old freetype2.library 1.x is kept as .bak.
  • The fonts DejaVuSans, DejaVuSansMono, NotoColorEmoji32 and Twemoji Mozilla. They go to FONTS:_ttf/ only when they are not there.

Needed for the full display

  • picture.datatype 43 or newer and datatypes for the picture formats (png.datatype and jpeg.datatype of AmigaOS 3.2 are fine)
  • A graphics card (RTG) screen with 15 bit or more is recommended. On screens with 256 colours or less, colours are approximated and emoji are drawn in the text colour.

Optional

  • MUI 3.8 or newer, for MarkdownPrefs (the settings are a text file too)
  • openurl.library, to open web links in the browser (or name a browser in MarkdownPrefs)
  • A TCP/IP stack, and AmiSSL 5 for https, for pictures from the web
  • DefIcons (part of AmigaOS 3.2), for the icon of .md files

Installation

Download markdown_dt.lha, unpack it and double-click Install-markdown_dt. It copies:

  • markdown.datatype to SYS:Classes/DataTypes;
  • the descriptors to DEVS:DataTypes;
  • the icon to ENVARC:Sys;
  • MarkdownPrefs to SYS:Prefs;
  • the libraries to LIBS: (if newer) and the fonts to FONTS:_ttf (if missing).

If you agree, it also adds the file type “markdown” to DefIcons. Reboot, then open Demo/Demo.md. Remove in the same script takes the datatype out again; the shared libraries and fonts stay.

Settings

None are needed. MarkdownPrefs in SYS:Prefs sets the fonts and their size, the character set, pictures from the web, links to programs (ask / never / always), and a browser and mailer. Without MUI the same settings go into ENVARC:DataTypes/markdown.prefs (see markdown.prefs.example).

Known limits

  • Printing is not supported.
  • SVG pictures need an SVG datatype.

Tested on

  • AmigaOS 3.2.3 in WinUAE (68060, UAEGFX)
  • An Amiga 1200 with PiStorm/Emu68 (RTG 1920×1080)

License and contact

Freeware, closed source. Copyright © 2026 Serkan Dursun. The complete, unchanged package may be copied freely; it must not be sold; no warranty.

The package includes, each under its own licence:

  • freetype2.library and harfbuzz.library (AAText)
  • the DejaVu fonts
  • Noto Color Emoji (Google, SIL Open Font License 1.1; Noto is a trademark of Google Inc.)
  • Twemoji Mozilla (CC-BY 4.0)

Credit line, required by the FreeType licence: “Portions of this software are copyright (C) 2026 The FreeType Project (https://freetype.org). All rights reserved.”

Bug reports: blasterreal@gmail.com, or an issue on GitHub.

History

  • 1.2.1 (30.11.2026): see What is new since 1.0
  • 1.1.1 (25.11.2026): test version
  • 1.1 (24.11.2026): test version
  • 1.0 (14.11.2026): first release, on Aminet