AsciiDoc Files opens and previews .adoc files in your vault

Edit AsciiDoc source and see its preview side by side.

MIT · no telemetry · core features free

Pro adds "Includes from the vault" and "Outline and links panel". Pro for all 134 plugins, $15 one time

An AsciiDoc handbook with source, a preview and a table of contents.
Open larger
version
1.2.3
released
downloads
187
review
Passed
health
Excellent
license
MIT
listed for
Desktop, Mobile
obsidian
1.13.4 or later

Tested on desktop with Obsidian 1.13.4 and the latest version. It isn't tested on mobile yet, and its code needs iOS 16.4 or later.

Directory facts fetched from community.obsidian.md/users/theluckystrike.

checked
Version 1.0.0 on 10 October 2026, in Obsidian 1.14.4 on desktop. The current version is 1.2.3, and it has no check yet.
passed
Install, free feature, Pro text, sign in, Pro stays off, network, token storage.
checked by
An automated check that the developer runs, not a review by Obsidian. See what each check means

About AsciiDoc Files

You keep technical documentation in AsciiDoc and want to read and edit it next to your Markdown notes.

AsciiDoc Files opens the .adoc and .asciidoc files in your vault in their own tab. You get a source editor with AsciiDoc highlighting, a rendered preview, or both side by side.

The preview uses Asciidoctor.js 3.0.4, bundled in the plugin, to render headings, tables, admonitions, lists, footnotes and source blocks.

An AsciiDoc file opens in the preview, switches to source and preview side by side, and a cross reference opens the target documentPlay demo

Free features

Rendered preview with the theme's look

Click an .adoc file in the file explorer and it opens in the preview. Section titles, tables, admonitions, quotes and the table of contents use the colors and fonts of your theme. Asciidoctor warnings show in a small list under the preview, not in the developer console.

The rendered preview of a handbook with a table of contents, a note, a table and a tip.
Open larger

Source editor with highlighting

The source editor is CodeMirror 6, the same editor the app uses for notes. It highlights titles, attribute entries, block delimiters, comments, lists, macros and inline marks. The file saves as you type, and in side by side mode the preview follows after a short delay.

Source and preview side by side, with highlighted titles, attributes, blocks and macros on the left.
Open larger

Cross references open the target

A cross reference to an anchor scrolls the preview to that anchor. An xref to another file opens that file and scrolls to the section. Web links open in your browser, and relative image paths show the images from the vault.

The command reference opened from a cross reference, scrolled to the exit codes.
Open larger

Mermaid diagrams

Put [mermaid] above a listing block to render a diagram locally in the preview, without Pro or a diagram server. Obsidian may ask you to allow diagrams in this vault. If rendering fails, the preview keeps the source and shows a message.

An AsciiDoc release document shows a Mermaid flowchart above a sequence diagram.
Open larger

Sanitized preview for files from other people

The plugin removes the file and URL readers from Asciidoctor, so a document can't read files outside the vault or include a URL. The HTML then goes through the sanitizer of the app, which removes scripts and event handlers. Remote images and other web media that a document names still load.

Without Pro, each include directive shows a short note instead of the included file.

Pro features

Pro costs $5 a month or $15 one time through GitHub Sponsors.

One payment of $15 turns on Pro in 134 NoteMods plugins.

Includes from the vault Pro

An include directive shows the included file in place, with the path relative to the file that holds the directive. The options leveloffset, lines, tag, tags, indent and opts=optional work. A missing file, a file that includes itself and a chain that is too deep each show a clear note.

Chapters and a tagged part of a shell script come in through include directives.
Open larger

Outline and links panel Pro

A side panel lists the section outline, the includes with their status, and cross references, with missing targets in red. It also lists the files that point to this one, from other AsciiDoc files and from Markdown notes. Click an entry to go there.

The side panel with the outline, the includes, the cross references with one missing target, and the files that link here.
Open larger

HTML export and copy Pro

The export command writes an HTML file next to the source, with the includes resolved and the Asciidoctor default stylesheet inside. A second command puts the HTML body on the clipboard for a CMS or an email. Both commands first remove scripts, event handlers, frames, forms and inline SVG, also inside passthrough blocks, and the page loads no web fonts.

The export notice and the new HTML file next to the AsciiDoc source in the file explorer.
Open larger

$15 once. Pro tools in 134 NoteMods plugins with one GitHub sponsorship. Nothing renews.

Pro turns on right after payment. Select Sign in with GitHub in the settings of each plugin you use. Free features stay free.

Secure checkout by GitHub Sponsors - needs a GitHub login.

We email you this link once, and one reminder if you confirm. Unsubscribe any time.

Price tiers

17 of 50 founding licenses sold.

  1. Founding price · now$15licenses 1 to 50
  2. Tier 2$19licenses 51 to 150
  3. Tier 3$24licenses 151 to 300
  4. Tier 4$29licenses 301 and more

The price is set on the 1st of each month. It goes up only after a tier is full. Until then it stays $15. The next price review is on 1 December 2026.

A price change does not change a license that you paid for. The $5 a month option stays.

Get Pro with GitHub Sponsors

One sponsorship turns on the Pro features in 134 NoteMods plugins. Free features stay free.

$15 one time: Pro stays on, nothing renews. $5 a month: Pro is on while you sponsor, and stays on after you have paid $15 in total. You pay on GitHub (a GitHub login is needed), then select Sign in with GitHub in the plugin settings. All sponsor tiers

Set up AsciiDoc Files

needs

  • Obsidian 1.13.4 or later
  • Only one plugin can open a file type, so turn off any other AsciiDoc plugin first.

steps

  1. Open any .adoc or .asciidoc file, or run the command Create a new .adoc file.

  2. Switch between preview, source and side by side with the buttons in the tab header.

If the app can't find a new plugin yet, try again later. Obsidian says a plugin that passes the review shows in the app within 24 hours.

Why this exists

A forum request for AsciiDoc support in Obsidian, topic 716, has been open since May 2020 and has 86 likes on its first post.

How to open AsciiDoc files in Obsidian

How it compares

Asciidoctor editor
Asciidoctor editor is a community plugin with a view mode and an edit mode for AsciiDoc files. As of October 2026, its README names no includes, HTML export or links panel, which are Pro features here.
AsciiDoc Live
AsciiDoc Live is a community plugin with a preview that updates while you type, a source toolbar and image paste. As of October 2026, its README has a desktop only badge and doesn't mention include directives.
Conversion to Markdown
Asciidoctor and Pandoc can turn an .adoc file into Markdown, and Obsidian then treats it like any note. The conversion runs one way, so edits to the Markdown don't flow back to the source.

Known limits of AsciiDoc Files

  • The preview keeps remote images that a document names, so opening a file from someone else can load images from another server.
  • The plugin turns off the icons and source-highlighter attributes for every document, so admonitions keep text labels and the HTML export has no code colors.
  • Pro includes stop at 8 levels and at 500 include directives in one document, and each include past a limit shows a note.
  • The HTML export and the HTML copy write the frame of a video:: macro for YouTube or Vimeo as a plain link, and they remove passthrough SVG, forms and inline styles outside a short list.

Need a change for your team? I build custom Obsidian plugins and features.

Questions about AsciiDoc Files

Do Obsidian search, backlinks and the graph see AsciiDoc files?

Only in part, and that's a limit of the app. Core search, backlinks, outgoing links and the graph don't read the text or the links inside an .adoc file. The files show in the file explorer, and a Markdown link to an .adoc file works.

Does AsciiDoc Files work on mobile?

It uses no Node or Electron API, but it isn't tested on mobile yet. Its code uses regex lookbehind, which iOS supports from version 16.4, so it won't load on an older iPhone or iPad.

Does it support Antora ids or includes from a URL?

No. Antora ids need the Antora site structure. URL includes would need a network request for each render, so they show a note.

Can I export Mermaid diagrams as images?

HTML export and copy keep Mermaid source as code, rather than exporting the rendered diagram. In the preview, [source,mermaid], [,mermaid] and [mermaid,target,svg] also work above diagram blocks. A literal block delimited by four periods works too.

Is the HTML export safe for a document from someone else?

From version 1.0.3, the export and the HTML copy go through an allow list in the plugin. It removes scripts, event handlers, javascript: links, frames, forms, embedded objects, style blocks and inline SVG, also inside passthrough blocks. Base64 raster images, audio, video and presentation MathML stay. A remote image or media file that the document names also stays, so a browser loads it from that host.

Network use

GitHub authentication and sponsorship requests send your client ID, device code and token to github.com and api.github.com after you select sign-in. The preview requests remote media from addresses your document names, even before sign-in; relative image paths read local vault files. Mermaid diagrams render locally, and URL includes are not fetched.

Read the full network disclosure

Questions or ideas?

Tell me what is broken in AsciiDoc Files, or what it should do next.

Send feedback

AsciiDoc Files 1.2.3, MIT license

MIT · no telemetry · core features free

Pro adds "Includes from the vault"Pro for all 134 plugins, $15 one time

Get Pro