Skip to content

Commit

Permalink
0.2.5 (fixes #51, adding mediawiki)
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverBalfour committed Jul 26, 2021
1 parent d706063 commit 8229273
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "obsidian-pandoc",
"name": "Pandoc Plugin",
"version": "0.2.4",
"version": "0.2.5",
"minAppVersion": "0.12.5",
"description": "This is a Pandoc export plugin for Obsidian. It provides commands to export to formats like DOCX, ePub and PDF.",
"author": "Oliver Balfour",
Expand Down
3 changes: 2 additions & 1 deletion pandoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const inputExtensions = ['md', 'docx', 'csv', 'html', 'tex', 'odt'];
// Note: you need a `-o -` in the command to output odt, docx, epub or pdf output (presumably as they are binary formats or something)
export type OutputFormat = 'asciidoc' | 'beamer' | 'commonmark_x' | 'docx' | 'epub'
| 'html' | 'pdf' | 'json' | 'latex' | 'odt' | 'pptx' | 'revealjs'
| 'beamer' | 'rtf' | 'docuwiki';
| 'beamer' | 'rtf' | 'docuwiki' | 'mediawiki';

// List of [pretty name, pandoc format name, file extension, shortened pretty name]
export const outputFormats = [
Expand All @@ -54,6 +54,7 @@ export const outputFormats = [
['Beamer Slides', 'beamer', 'beamer.tex', 'Beamer'],
['reStructured Text (RST)', 'rst', 'rst', 'RST'],
['DokuWiki', 'dokuwiki', 'txt', 'DokuWiki'],
['MediaWiki', 'mediawiki', 'mediawiki', 'MediaWiki'],
];

export interface PandocInput {
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"0.2.1": "0.12.5",
"0.2.2": "0.12.5",
"0.2.3": "0.12.5",
"0.2.4": "0.12.5"
"0.2.4": "0.12.5",
"0.2.5": "0.12.5"
}

0 comments on commit 8229273

Please sign in to comment.