Quarto Exporter
approvedby andreasthinks
Export notes to Quarto-compatible QMD files.
Obsidian to Quarto Exporter
This plugin for Obsidian (https://obsidian.md) allows you to export your Obsidian notes to Quarto-compatible QMD files. It provides various options to customize the export process, including date formatting, tag handling, and output file management.
Features
- Export Obsidian notes to Quarto-compatible QMD format
- Add creation or modification date to exported files
- Customize date format
- Option to include or exclude tags from Obsidian notes
- Specify output folder for exported files
- Choose to overwrite existing files or create new ones
- Converts Obsidian-specific syntax to Quarto-compatible format:
- Wikilinks (
[[Page]],[[Page|Display]]) → Markdown links - Embedded notes (
![[Note]], with header#and block^references) - Images (
![[photo.png|200]]) → Markdown image syntax - Mermaid diagrams (
mermaid` →{mermaid}`) - Block anchors (
^id) → pandoc-crossref labels ({#fig:|tbl:|lst:id}) - Cross-references (
[#^id],[#^id](#^id),[text](#^id)) → pandoc-crossref (@fig:|tbl:|lst:id) - Callouts (
> [!note]) → Quarto callouts (::: {.callout-note}) - Highlight syntax (
==text==) →<mark>tags - Display math (
$$...$$on single line) → multi-line Quarto format
- Wikilinks (
Installation
From the Obsidian Community Plugins
- Open Obsidian Settings > Community Plugins
- Disable Safe Mode
- Click Browse community plugins
- Search for "Quarto Exporter"
- Click Install
- Once installed, close the community plugins window and activate the newly installed plugin
Manual Installation
- Download
main.jsandmanifest.jsonfrom the latest release on GitHub. - Create a folder named
quarto-exporterin your vault:<vault>/.obsidian/plugins/quarto-exporter/ - Copy
main.jsandmanifest.jsoninto that folder. - Reload Obsidian and enable the plugin in Settings > Community Plugins.
Usage
- Open the Obsidian note you want to export.
- Use the command palette (Ctrl/Cmd + P) and search for "Export to Quarto QMD".
- The plugin will create a new QMD file based on your settings.
Settings
- Date Option: Choose to add creation date, modification date, or no date to the exported file.
- Date Format: Specify the format for the date (e.g., YYYY-MM-DD).
- Output Folder: Set a specific folder for exported files, or leave blank to use the same folder as the original note.
- Overwrite Existing Files: Choose whether to overwrite existing files or create new ones with incremented names.
- Import Tags: Decide whether to include tags from the Obsidian note in the exported Quarto file.
Development
If you want to contribute to the development of this plugin, follow these steps:
- Clone this repository.
- Run
npm ito install dependencies. - Run
npm run devto start compilation in watch mode.
Support
If you encounter any issues or have feature requests, please file them in the Issues section of the GitHub repository.
License
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.