• Stars
    star
    324
  • Rank 129,708 (Top 3 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 2 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This is an enhancing export plugin base on Pandoc for Obsidian (https://obsidian.md/ ). It's allow you to export to formats like Markdown、Markdown (Hugo https://gohugo.io/ )、Html、docx、Latex etc.

Obsidian Enhancing Export Plugin

GitHub release (latest by date including pre-releases) Obsidian Downloads

English | 中文

This is an enhancing export plugin base on Pandoc for Obsidian (https://obsidian.md/). It's allow you to export to formats like Markdown,Markdown (Hugo),HTML,docx,Latex etc.

Where Markdown,Markdown (Hugo),HTML will export and its media resource together.

Note: Markdown,Markdown (Hugo),HTML are tested in Mac OS, Windows, and Linux as I used it for myself, others are not tested well.

Ads: You might like my other plugins 🤪

Screen shot

  • Export view,click on Export to ...... on file menu.

  • Setting view

Installation

  1. First install the latest pandoc (2.19+), and then add pandoc path to environment variable PATH or set absolute path of pandoc in the plugin setting view.

    See more details in https://pandoc.org/installing.html

  2. Search obsidian-enhancing-export in the community plugins of obsidian, and install it.

Customize export commands

You can customize your export command by yourself, click add in the plugin setting view and then choose template custom to add new custom configuration.

Variables

You can use ${variables} in custom export command, their values are:

Key Value
${outputPath} Output file path after export. For example, if your export to location /User/aaa/Documents/test.pdf, then ${outputDir} will be replace that path.
${outputDir} Output directory of saved exported file,It will be /User/aaa/Documents in above case.
${outputFileName} File name (without extension) of the saved exported file. It will be test in above case.
${outputFileFullName} File name (with extension) of the saved exported file. It will be test.pdf in above case.
${currentPath} Path of currently edited file. For example, if your are editing /User/aaa/Documents/readme.md, the the value will be /User/aaa/Documents/readme.md.
${currentDir} Current directory of currently edited file, It will be/User/aaa/Documents in above case.
${currentFileName} Filename without extension of currently edited file, It will be readme in above case.
${currentFileFullName} Filename with extension of currently edited file. It will be readme.md in above case.
${vaultDir} The obsidian current vaultDir.
${attachmentFolderPath} The attachmentFolderPath of Obsidian.
Others variables You can use keyword: value in YAML Front Matter, then use ${metadata.keyword}

Related resources

Finally

  • Welcome to provide more command templates to here.
  • Feel free to file an issue for any questions.

More Repositories

1

smartdns-rs

A cross platform local DNS server (Dnsmasq like) written in rust to obtain the fastest website IP for the best Internet experience, supports DoT, DoQ, DoH, DoH3.
Rust
547
star
2

obsidian-code-emitter

An obsidian plugin that allows code blocks executed interactively in sandbox like jupyter notebooks. Supported language rust、kotlin、python、Javascript、TypeScript etc.
TypeScript
243
star
3

zerotier-edge

A lightweight(less than 5 MB) ZeroTier Controller Web UI for a self-hosted ZeroTier network controller that deployed at your edge.
TypeScript
51
star
4

candle-ext

An extension library to Candle that provides PyTorch functions not currently available in Candle
Rust
35
star
5

ngx-property-grid

A small and simple property grid in angular to view/edit POJOs, excellent if you have a "settings" object you want to give the user to edit.
TypeScript
17
star
6

cargo-patch-crate

Fix broken crates instantly 🏃🏽‍♀️💨
Rust
16
star
7

QuickGraph

C#
14
star
8

enum-flags

EnumFlags is a csharp like enum flags implementation.
Rust
7
star
9

pyiter

PyIter is a Python package for iterative operations inspired by the Kotlin、CSharp(linq)、TypeSrcipt and Rust . Enables strong **typing** and type inference for iterative operations.
Python
5
star
10

v2ray-maid

Automatically select the fastest server as V2ray Outbounds and update the config file.
Rust
5
star
11

pyodide-dist

CDN: https://cdn.jsdelivr.net/gh/mokeyish/[email protected] Used by https://github.com/mokeyish/obsidian-code-emitter
JavaScript
3
star
12

Latex-Equation-Editor

A LaTex Equation Online Editor.
JavaScript
3
star
13

Gym.ts

Gym for typescript, A toolkit for developing and comparing reinforcement learning algorithms.
TypeScript
2
star
14

ext.ts

language extensions for typescript
TypeScript
1
star
15

cargo-patch-crate-example

Rust
1
star
16

ngx-template

A strengthened angular template
HTML
1
star
17

ndArray.ts

ndarray for typescript
TypeScript
1
star
18

QuickGraph.ts

TypeScript
1
star