Variable: org-md-link-org-files-as-md

org-md-link-org-files-as-md is a customizable variable defined in ox-md.el.gz.

Value

t

Documentation

Non-nil means make file links to "file.org" point to "file.md".

When Org mode is exporting an Org file to markdown, links to non-markdown files are directly put into a "href" tag in markdown. However, links to other Org files (recognized by the extension ".org") should become links to the corresponding markdown file, assuming that the linked Org file will also be converted to markdown.

When nil, the links still point to the plain ".org" file.

This variable was added, or its default value changed, in Org version
9.8.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-md.el.gz
(defcustom org-md-link-org-files-as-md t
  "Non-nil means make file links to \"file.org\" point to \"file.md\".

When Org mode is exporting an Org file to markdown, links to
non-markdown files are directly put into a \"href\" tag in
markdown.  However, links to other Org files \(recognized by the
extension \".org\") should become links to the corresponding
markdown file, assuming that the linked Org file will also be
converted to markdown.

When nil, the links still point to the plain \".org\" file."
  :group 'org-export-md
  :package-version '(Org . "9.8")
  :type 'boolean
  :safe #'booleanp)