;ELC ;;; Compiled ;;; in Emacs version 26.3 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\300\303!\210\304\305\306\307\310\311\312\313\314\315\316\317& \210\320\321\322\323\324DD\325\312\305\326\327&\210\320\330\322\323\331DD\332\312\305\326\333\314\334\316\335& \210\320\336\322\323\337DD\340\312\305\326\333\314\334\316\341& \210\342\343\344\345\346\347\350\351\352\353\354&\n\207" [require cl-lib ox-html ox-publish custom-declare-group org-export-md nil "Options specific to Markdown export back-end." :tag "Org Markdown" :group org-export :version "24.4" :package-version (Org . "8.0") custom-declare-variable org-md-headline-style funcall function #[0 "\300\207" [atx] 1] "Style used to format headlines.\nThis variable can be set to either `atx' or `setext'." :type (choice (const :tag "Use \"atx\" style" atx) (const :tag "Use \"Setext\" style" setext)) org-md-footnotes-section #[0 "\300\207" [#1="%s%s"] 1 #1#] "Format string for the footnotes section.\nThe first %s placeholder will be replaced with the localized Footnotes section\nheading, the second with the contents of the Footnotes section." string "26.1" (Org . "9.0") org-md-footnote-format #[0 "\300\207" [#2="%s"] 1 #2#] "Format string for the footnote reference.\nThe %s will be replaced by the footnote reference itself." (Org . "9.0") org-export-define-derived-backend md html :filters-alist ((:filter-parse-tree . org-md-separate-elements)) :menu-entry (109 "Export to Markdown" ((77 "To temporary buffer" (lambda (a s v b) (org-md-export-as-markdown a s v))) (109 "To file" (lambda (a s v b) (org-md-export-to-markdown a s v))) (111 "To file and open" (lambda (a s v b) (if a (org-md-export-to-markdown t s v) (org-open-file (org-md-export-to-markdown nil s v))))))) :translate-alist ((bold . org-md-bold) (center-block . org-md--convert-to-html) (code . org-md-verbatim) (drawer . org-md--identity) (dynamic-block . org-md--identity) (example-block . org-md-example-block) (export-block . org-md-export-block) (fixed-width . org-md-example-block) (headline . org-md-headline) (horizontal-rule . org-md-horizontal-rule) (inline-src-block . org-md-verbatim) (inlinetask . org-md--convert-to-html) (inner-template . org-md-inner-template) (italic . org-md-italic) (item . org-md-item) (keyword . org-md-keyword) (line-break . org-md-line-break) (link . org-md-link) (node-property . org-md-node-property) (paragraph . org-md-paragraph) (plain-list . org-md-plain-list) (plain-text . org-md-plain-text) (property-drawer . org-md-property-drawer) (quote-block . org-md-quote-block) (section . org-md-section) (special-block . org-md--convert-to-html) (src-block . org-md-example-block) (table . org-md--convert-to-html) (template . org-md-template) (verbatim . org-md-verbatim)) :options-alist ((:md-footnote-format nil nil org-md-footnote-format) (:md-footnotes-section nil nil org-md-footnotes-section) (:md-headline-style nil nil org-md-headline-style))] 12) #@501 Fix blank lines between elements. TREE is the parse tree being exported. BACKEND is the export back-end used. INFO is a plist used as a communication channel. Enforce a blank line between elements. There are two exceptions to this rule: 1. Preserve blank lines between sibling items in a plain list, 2. In an item, remove any blank line before the very first paragraph and the next sub-list when the latter ends the current item. Assume BACKEND is `md'. (fn TREE BACKEND INFO) (defalias 'org-md-separate-elements #[771 "\301\302\303\"\304\305\306\307\310!\311\"\312\313%#\210\207" [org-element-all-elements org-element-map remq item make-byte-code 257 "\211\301\211:\204\211;\205\302\262\202\211@9\205\211@\262\303=\203\223\304\211;\2033\305\306#\266\202\202;\307A@\"\266\202\211:\204K\211;\205S\302\262\202U\211@9\205S\211@\262\310=\203\223\311\300\"\203\223\312\300\"\211\211:\204v\211;\205~\302\262\202\200\211@9\205~\211@\262\313=\205\212\312\300\"?\262\203\223\306\202\224\314;\203\240\315\316$\207A\317A@#\240\210\207" vconcat vector [:post-blank plain-text paragraph :parent get-text-property 0 plist-get item org-export-first-sibling-p org-export-get-next-element plain-list 1 org-add-props nil plist-put] 9 "\n\n(fn E)"] 12 (#$ . 3304)]) #@167 Non-nil when HEADLINE is being referred to. INFO is a plist used as a communication channel. Links and table of contents can refer to headlines. (fn HEADLINE INFO) (defalias 'org-md--headline-referred-p #[514 "\300\211;\203\301\302#\266\202\202\303A@\"\266\202?\205_\303\304\"\2030\305\303\304\"\">\206_\306\307\310\311\312\313\"\314\"\315\316%\317!\"\206_\320\303\321\"\322\307\310\323\312\313  \"\324\"\325\326%\327%\207" [:footnote-section-p get-text-property 0 plist-get :with-toc org-export-collect-headlines cl-some make-byte-code 257 "\211\211:\204\f\302\262\202\211@9\203\211AA\262@\211\211:\204)\211;\2051\303\262\2023\211@9\2051\211@\262\304=\205K\305\306\307\310\311\312\313\300\301\"\314\"\315\316%\301\317%\207" vconcat vector [nil plain-text section org-element-map keyword make-byte-code 257 "\304\211;\203\305\306#\266\202\202\307A@\"\266\202\310\232\205u\311\312\211;\2030\305\306#\266\202\2028\307A@\"\266\202\313\314\311\315#)\266\203\205r\315\316\"\205W\317\320\306\"!\321\314\311\315#)\266\203\300\322\301\205n#>\266\202)\266\202\207" vconcat vector [case-fold-search inhibit-changing-match-data :key get-text-property 0 plist-get "TOC" t :value "\\" nil string-match "\\<[0-9]+\\>" string-to-number match-string "\\" org-export-collect-headlines] 11 "\n\n(fn KEYWORD)" t] 12 "\n\n(fn H)" org-element-lineage org-element-map :parse-tree link "\300\302\211;\203\303\304#\266\202\202\305A@\"\266\202\211\306\235\203'\307\301\"\2025\211\310\232\2034\311\301\"\2025\312\262=\207" [:type get-text-property 0 plist-get ("id" "custom-id") org-export-resolve-id-link "fuzzy" org-export-resolve-fuzzy-link nil] 8 "\n\n(fn LINK)" t] 12 (#$ . 4636)]) #@322 Generate a headline title in the preferred Markdown headline style. STYLE is the preferred style (`atx' or `setext'). LEVEL is the header level. TITLE is the headline title. ANCHOR is the HTML anchor tag for the section as a string. TAGS are the tags set on the section. (fn STYLE LEVEL TITLE &optional ANCHOR TAGS) (defalias 'org-md--headline-title #[1283 "\205\300P\301=\2035\302W\2035\303U\203\304\202\305\306G\"\307P\307\307\307\260\266\202\202F\306\310\"\307\311\300\260\262\207" ["\n\n" setext 3 1 61 45 make-string "\n" 35 " "] 15 (#$ . 6423)]) #@305 Return a table of contents. INFO is a plist used as a communication channel. Optional argument N, when non-nil, is an integer specifying the depth of the table. When optional argument SCOPE is non-nil, build a table of contents according to the specified element. (fn INFO &optional N KEYWORD SCOPE) (defalias 'org-md--build-toc #[1025 "\211?\205\300\301\"\302\303\"\304\305\306$\266\202\307\310\311\312\313\314\n!\315\"\316\317%\320#\321#\321Q\207" [plist-get :md-headline-style org-html--translate "Table of Contents" org-md--headline-title 1 nil mapconcat make-byte-code 257 "\301\302\300\"S\303_\304\"\305\300\"\204\306\202/\307\310\311\300\"\312!@\262\"\211\301\313\303GZ]\304\"P\262\307\314\315\316\300\"\317\320!\300#\321\211;\203N\322\323#\266\202\202V\324A@\"\266\202\206^\325\300\"#\324\300\326\"\205v\324\300\326\"\327=?\205v\330\331\300\"!R\207" vconcat vector [make-string org-export-get-relative-level 4 32 org-export-numbered-headline-p "- " format "%d." org-export-get-headline-number last 1 "[%s](#%s)" org-export-data-with-backend org-export-get-alt-title org-export-toc-entry-backend md :CUSTOM_ID get-text-property 0 plist-get org-export-get-reference :with-tags not-in-toc org-make-tag-string org-export-get-tags] 12 "\n\n(fn HEADLINE)" org-export-collect-headlines "\n"] 12 (#$ . 7019)]) #@167 Formats a single footnote entry FOOTNOTE. FOOTNOTE is a cons cell of the form (number . definition). INFO is a plist with contextual information. (fn FOOTNOTE INFO) (defalias 'org-md--footnote-formatted #[514 "@A\300\301\"\302\303\"\302\304\"\305 $\302\"\306\307R\207" [plist-get :md-footnote-format format "fn.%d" " href=\"#fnr.%d\"" org-html--anchor " " "\n"] 12 (#$ . 8386)]) #@90 Format the footnote section. INFO is a plist used as a communication channel. (fn INFO) (defalias 'org-md--footnote-section #[257 "\300!\211\301\211\211\211\211:\203M@\262\211A\262\242\262\211A\262\242\262@\262\302\n\"\301\303\2036\304\2027\305\306\303\307\306##\266\202BB\262A\262\202 \211\237\266\206\310\311\"\312\313\"\205{\314\310\315\"\316\317#\320\321\322\323\324\325 !\326\"\327\330%\331##\207" [org-export-collect-footnote-definitions nil org-export-data replace-regexp-in-string "\\`\\([ ]*\n\\)+" "\\`[ \n ]+" "" "[ \n ]+\\'" plist-get :md-headline-style org-html--translate "Footnotes" format :md-footnotes-section org-md--headline-title 1 mapconcat make-byte-code 257 "\301\300\"\207" vconcat vector [org-md--footnote-formatted] 4 "\n\n(fn FN)" "\n"] 18 (#$ . 8786)]) #@76 Convert DATUM into raw HTML, including contents. (fn DATUM CONTENTS INFO) (defalias 'org-md--convert-to-html #[771 "\300\301#\207" [org-export-data-with-backend html] 7 (#$ . 9615)]) #@49 Return CONTENTS only. (fn DATUM CONTENTS INFO) (defalias 'org-md--identity #[771 "\207" [] 4 (#$ . 9807)]) #@161 Transcode BOLD object into Markdown format. CONTENTS is the text within bold markup. INFO is a plist used as a communication channel. (fn BOLD CONTENTS INFO) (defalias 'org-md-bold #[771 "\300\301\"\207" [format "**%s**"] 6 (#$ . 9923)]) #@145 Transcode VERBATIM object into Markdown format. CONTENTS is nil. INFO is a plist used as a communication channel. (fn VERBATIM CONTENTS INFO) (defalias 'org-md-verbatim #[771 "\300\211;\203\301\302#\266\202\202\303A@\"\266\202\304\305\306\"\204%\307\2028\310\306\"\2043\311\306\"\2037\312\2028\313\"\207" [:value get-text-property 0 plist-get format string-match "`" "`%s`" string-prefix-p string-suffix-p "`` %s ``" "``%s``"] 9 (#$ . 10171)]) #@156 Transcode EXAMPLE-BLOCK element into Markdown format. CONTENTS is nil. INFO is a plist used as a communication channel. (fn EXAMPLE-BLOCK CONTENTS INFO) (defalias 'org-md-example-block #[771 "\300\301\302\303\304\"!#\207" [replace-regexp-in-string "^" " " org-remove-indentation org-export-format-code-default] 10 (#$ . 10642)]) #@155 Transcode a EXPORT-BLOCK element from Org to Markdown. CONTENTS is nil. INFO is a plist holding contextual information. (fn EXPORT-BLOCK CONTENTS INFO) (defalias 'org-md-export-block #[771 "\300\211;\203\301\302#\266\202\202\303A@\"\266\202\304\235\203:\305\306\211;\2030\301\302#\266\202\2028\303A@\"\266\202!\207\307\310$\207" [:type get-text-property 0 plist-get ("MARKDOWN" "MD") org-remove-indentation :value org-export-with-backend html] 10 (#$ . 10987)]) #@164 Transcode HEADLINE element into Markdown format. CONTENTS is the headline contents. INFO is a plist used as a communication channel. (fn HEADLINE CONTENTS INFO) (defalias 'org-md-headline #[771 "\300\211;\203\301\302#\266\202\202\303A@\"\266\202?\205T\304\"\305\306\211;\2033\301\302#\266\202\202;\303A@\"\266\202\"\303\307\"\205i\310\211;\203U\301\302#\266\202\202]\303A@\"\266\202\211\205g\305\"\311P\262\303\312\"\205\200\313\"\211\205~\314\315!P\262\303\316\"\205\253\317\211;\203\231\301\302#\266\202\202\241\303A@\"\266\202\211\205\251\320\321\"\262Q\303\322\"\323\n \"\204\335\211\324>\203\335\211\325=\203\320\326V\204\335\211\327=\203\330V\203\331\n \"\204\352\332\202\367\333\334\335\f \"!@!\336P\211\337\340GZ\341\"\342\205\343\344\345#\260\262\202R\346\n \"\205D\320\347\350\f\211;\2032\301\302#\266\202\202:\303A@\"\266\202\206C\351\f \"\"\352  %\nP\262\266\207\207" [:footnote-section-p get-text-property 0 plist-get org-export-get-relative-level org-export-data :title :with-todo-keywords :todo-keyword " " :with-tags org-export-get-tags " " org-make-tag-string :with-priority :priority format "[#%c] " :md-headline-style org-export-low-level-p (atx setext) atx 6 setext 2 org-export-numbered-headline-p "-" number-to-string last org-export-get-headline-number "." make-string 4 32 "\n\n" replace-regexp-in-string "^" " " org-md--headline-referred-p "" :CUSTOM_ID org-export-get-reference org-md--headline-title] 20 (#$ . 11478)]) #@185 Transcode HORIZONTAL-RULE element into Markdown format. CONTENTS is the horizontal rule contents. INFO is a plist used as a communication channel. (fn HORIZONTAL-RULE CONTENTS INFO) (defalias 'org-md-horizontal-rule #[771 "\300\207" ["---"] 4 (#$ . 13069)]) #@167 Transcode ITALIC object into Markdown format. CONTENTS is the text within italic markup. INFO is a plist used as a communication channel. (fn ITALIC CONTENTS INFO) (defalias 'org-md-italic #[771 "\300\301\"\207" [format "*%s*"] 6 (#$ . 13336)]) #@152 Transcode ITEM element into Markdown format. CONTENTS is the item contents. INFO is a plist used as a communication channel. (fn ITEM CONTENTS INFO) (defalias 'org-md-item #[771 "\300\301\211;\203\302\303#\266\203\202\304A@\"\266\203\211;\203*\302\303#\266\202\2022\304A@\"\266\202\305\211;\203C\302\303#\266\202\202K\304A@\"\266\202\306=\204U\307\202\201\310\311\312\313\211;\203j\302\303#\266\202\202r\304A@\"\266\202\314!\315!$!@!\316P\211\317\320GZ\321\"\322\211;\203\233\302\303#\266\202\202\243\304A@\"\266\202\211\323=\203\255\324\202\302\211\325=\203\267\326\202\302\211\327=\203\301\330\202\302\331\262\332 \211;\203\326\302\303#\266\202\202\336\304A@\"\266\202\211\205\352\333\334\335 \"\"\262\205\f\336\337\340 #\331\336\203\341\202\342\343\336\344\343##\266\202\260\207" [:type :parent get-text-property 0 plist-get :structure ordered "-" number-to-string last org-list-get-item-number :begin org-list-prevs-alist org-list-parents-alist "." make-string 4 32 :checkbox on "[X] " trans "[-] " off "[ ] " nil :tag format "**%s:** " org-export-data replace-regexp-in-string "^" " " "\\`\\([ ]*\n\\)+" "\\`[ \n ]+" "" "[ \n ]+\\'"] 19 (#$ . 13591)]) #@146 Transcode a KEYWORD element into Markdown format. CONTENTS is nil. INFO is a plist used as a communication channel. (fn KEYWORD CONTENTS INFO) (defalias 'org-md-keyword #[771 "\302\211;\203\303\304#\266\202\202\305A@\"\266\202\211\306\235\203;\307\211;\2030\303\304#\266\202\202\270\305A@\"\266\202\202\270\211\310\232\203\262\311\307\211;\203S\303\304#\266\202\202[\305A@\"\266\202\312\313\311\314#)\266\203\205\254\314\315\"\205z\316\317\304\"!\314\320\"\203\216\321\322\317\323\"!\"\202\240\324\313\311\314#)\266\203\205\240\325\326 $!\266\202)\266\202\202\270\327\330$\207" [case-fold-search inhibit-changing-match-data :key get-text-property 0 plist-get ("MD" "MARKDOWN") :value "TOC" t "\\" nil string-match "\\<[0-9]+\\>" string-to-number match-string ":target +\\(\".+?\"\\|\\S-+\\)" org-export-resolve-link org-strip-quotes 1 "\\" org-remove-indentation org-md--build-toc org-export-with-backend html] 14 (#$ . 14841)]) #@149 Transcode LINE-BREAK object into Markdown format. CONTENTS is nil. INFO is a plist used as a communication channel. (fn LINE-BREAK CONTENTS INFO) (defalias 'org-md-line-break #[771 "\300\207" [" \n"] 4 (#$ . 15861)]) #@201 Transcode LINK object into Markdown format. DESC is the description part of the link, or the empty string. INFO is a plist holding contextual information. See `org-export-data'. (fn LINK DESC INFO) (defalias 'org-md-link #[771 "\301\302\211;\203\303\304#\266\202\202\305A@\"\266\202\306\211;\203+\303\304#\266\202\2023\305A@\"\266\202\307\235\203@\310Q\202O\311\230\203N\312!!\202O\211\313\314$\206\307\315\235\203T\316\230\203p\317\"\202v\320\"\211\211:\204\207\211;\205\217\321\262\202\221\211@9\205\217\211@\262\211\321=\203\261!\204\246\322\323\"\202\254\322\324\n#\262\202M\211\325=\203\322\326\327\n!\206\362\330\n\"\203\325\331\332\333\f\"\334#\202\362\335\336\211;\203\347\303\304#\266\202\202\357\305A@\"\266\202\n\"\337\211;\203\303\304#\266\202\202 \305A@\"\266\202\206\340 \"#\202M\327!\206=\341\"\211\204+\342\202;\211:\2046\332!\202;\331\332\334#\262\211\205K\322\326\340\f\"#\262\262\262\202\307\343\"\203\227\311\230\204i\310Q\202v\344!\204s\202v\345!\335\346\347\n!!\"\322\350\327!\204\214\202\221\322\351#\"\266\202\202\307\352\230\203\254\322\353\"\354\"\"\202\307\355\232\203\266\202\307\204\301\322\323\"\202\307\322\324#\207" [org-html-inline-image-rules #[257 "\300\301\"\227\302\230\203\303!\304P\207\207" [file-name-extension "." ".org" file-name-sans-extension ".md"] 4 "\n\n(fn RAW-PATH)"] :type get-text-property 0 plist-get :path ("http" "https" "ftp" "mailto") ":" "file" org-export-file-uri org-export-custom-protocol-maybe md ("custom-id" "id" "fuzzy") "fuzzy" org-export-resolve-fuzzy-link org-export-resolve-id-link plain-text format "<%s>" "[%s](%s)" headline "[%s](#%s)" org-string-nw-p org-export-numbered-headline-p mapconcat number-to-string org-export-get-headline-number "." org-export-data :title :CUSTOM_ID org-export-get-reference org-export-get-ordinal nil org-export-inline-image-p file-name-absolute-p expand-file-name org-export-get-caption org-export-get-parent-element "![img](%s)" "%s \"%s\"" "coderef" org-export-get-coderef-format org-export-resolve-coderef "radio"] 18 (#$ . 16088)]) #@157 Transcode a NODE-PROPERTY element into Markdown syntax. CONTENTS is nil. INFO is a plist holding contextual information. (fn NODE-PROPERTY CONTENTS INFO) (defalias 'org-md-node-property #[771 "\300\301\302\211;\203\303\304#\266\202\202\305A@\"\266\202\306\211;\203-\303\304#\266\202\2025\305A@\"\266\202\211\203?\307P\202@\310\262#\207" [format "%s:%s" :key get-text-property 0 plist-get :value " " ""] 12 (#$ . 18301)]) #@167 Transcode PARAGRAPH element into Markdown format. CONTENTS is the paragraph contents. INFO is a plist used as a communication channel. (fn PARAGRAPH CONTENTS INFO) (defalias 'org-md-paragraph #[771 "\211:\204\f\300\262\202\211@9\203\211AA\262@\211;\203*\301\302\"\203*\303P\202+\207" [nil string-prefix-p "#" "\\"] 7 (#$ . 18752)]) #@170 Transcode PLAIN-LIST element into Markdown format. CONTENTS is the plain-list contents. INFO is a plist used as a communication channel. (fn PLAIN-LIST CONTENTS INFO) (defalias 'org-md-plain-list #[771 "\207" [] 4 (#$ . 19107)]) #@145 Transcode a TEXT string into Markdown format. TEXT is the string to transcode. INFO is a plist holding contextual information. (fn TEXT INFO) (defalias 'org-md-plain-text #[514 "\300\301\"\203\302\303#\262\304\305\306#\262\304\307\310#\262\304\311\312\313\211\314&\262\300\315\"\2033\316!\262\300\317\"\203A\304\320\321#\262\207" [plist-get :with-smart-quotes org-export-activate-smart-quotes :html replace-regexp-in-string "[`*_\\]" "\\\\\\&" "\n#" "\n\\\\#" "\\(!\\)\\[" "\\\\!" nil 1 :with-special-strings org-html-convert-special-strings :preserve-breaks "[ ]*\n" " \n"] 9 (#$ . 19346)]) #@187 Transcode a PROPERTY-DRAWER element into Markdown format. CONTENTS holds the contents of the drawer. INFO is a plist holding contextual information. (fn PROPERTY-DRAWER CONTENTS INFO) (defalias 'org-md-property-drawer #[771 "\300!\205 \301\302\303#\207" [org-string-nw-p replace-regexp-in-string "^" " "] 7 (#$ . 19971)]) #@173 Transcode QUOTE-BLOCK element into Markdown format. CONTENTS is the quote-block contents. INFO is a plist used as a communication channel. (fn QUOTE-BLOCK CONTENTS INFO) (defalias 'org-md-quote-block #[771 "\300\301\302\300\303\304##\207" [replace-regexp-in-string "^" "> " "\n\\'" ""] 10 (#$ . 20308)]) #@161 Transcode SECTION element into Markdown format. CONTENTS is the section contents. INFO is a plist used as a communication channel. (fn SECTION CONTENTS INFO) (defalias 'org-md-section #[771 "\207" [] 4 (#$ . 20623)]) #@170 Return body of document after converting it to Markdown syntax. CONTENTS is the transcoded contents string. INFO is a plist holding export options. (fn CONTENTS INFO) (defalias 'org-md-inner-template #[514 "\300\301\"\211\205\302\303!\205\"\304P\262\304\305!R\207" [plist-get :with-toc org-md--build-toc wholenump "\n" org-md--footnote-section] 7 (#$ . 20850)]) #@174 Return complete document string after Markdown conversion. CONTENTS is the transcoded contents string. INFO is a plist used as a communication channel. (fn CONTENTS INFO) (defalias 'org-md-template #[514 "\207" [] 3 (#$ . 21232)]) #@740 Export current buffer to a Markdown buffer. If narrowing is active in the current buffer, only export its narrowed part. If a region is active, export that region. A non-nil optional argument ASYNC means the process should happen asynchronously. The resulting buffer should be accessible through the `org-export-stack' interface. When optional argument SUBTREEP is non-nil, export the sub-tree at point, extracting information from the headline properties first. When optional argument VISIBLE-ONLY is non-nil, don't export contents of hidden elements. Export is done in a buffer named "*Org MD Export*", which will be displayed when `org-export-show-temporary-export-buffer' is non-nil. (fn &optional ASYNC SUBTREEP VISIBLE-ONLY) (defalias 'org-md-export-as-markdown #[768 "\300\301\302\303\211\304&\207" [org-export-to-buffer md "*Org MD Export*" nil #[0 "\300 \207" [text-mode] 1]] 12 (#$ . 21473) nil]) #@219 Assume the current region has Org syntax, and convert it to Markdown. This can be used in any buffer. For example, you can write an itemized list in Org syntax in a Markdown buffer and use this command to convert it. (defalias 'org-md-convert-region-to-md #[0 "\300\301!\207" [org-export-replace-region-by md] 2 (#$ . 22399) nil]) #@628 Export current buffer to a Markdown file. If narrowing is active in the current buffer, only export its narrowed part. If a region is active, export that region. A non-nil optional argument ASYNC means the process should happen asynchronously. The resulting file should be accessible through the `org-export-stack' interface. When optional argument SUBTREEP is non-nil, export the sub-tree at point, extracting information from the headline properties first. When optional argument VISIBLE-ONLY is non-nil, don't export contents of hidden elements. Return output file's name. (fn &optional ASYNC SUBTREEP VISIBLE-ONLY) (defalias 'org-md-export-to-markdown #[768 "\300\301\"\302\303%\207" [org-export-output-file-name ".md" org-export-to-file md] 10 (#$ . 22738) nil]) #@237 Publish an org file to Markdown. FILENAME is the filename of the Org file to be published. PLIST is the property list for the given project. PUB-DIR is the publishing directory. Return output file name. (fn PLIST FILENAME PUB-DIR) (defalias 'org-md-publish-to-md #[771 "\300\301\302%\207" [org-publish-org-to md ".md"] 9 (#$ . 23529)]) (provide 'ox-md)