Greetings all, I have an issue with Markdown and I guess it is a bug. If I have a simple Org file with the following contents: * Heading 1 ** Heading 1.1 - something * Heading 2 - something else and run M-x org-export-dispatch m m, thus making a Markdown export to a file, the resulting file looks like this:

Table of Contents

# Heading 1 ## Heading 1.1 - something # Heading 2 - something else Shouldn't there be the #sec-1 anchor somewhere next to Heading 1 and similarly for the other anchors? Obviously, when the md file gets displayed in a web browser, clicking on "1. Heading 1" in the table of contents has no effect. I expect it to jump to the part of page corresponding to Heading 1. ------------------------------------------------------------------------ Emacs : GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) of 2014-01-18 on neelix Package: Org-mode version 8.2.6 (8.2.6-dist @ /home/marko/.emacs.d/org-8.2.6/lisp/) current state: ============== (setq org-export-backends '(ascii beamer html icalendar latex md) org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-latex-classes '(("beamer" "\\documentclass[presentation]{beamer}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ("article" "\\documentclass[11pt]{article}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("report" "\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ("book" "\\documentclass[11pt]{book}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ) org-contacts-files '("~/org/contacts/contacts.org") org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-agenda-start-on-weekday nil org-html-format-drawer-function '(lambda (name contents) contents) org-log-done t org-latex-format-inlinetask-function 'ignore org-confirm-shell-link-function 'yes-or-no-p org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-export-date-timestamp-format "%Y-%m-%d" org-list-allow-alphabetical t org-agenda-skip-scheduled-if-done t org-latex-format-headline-function 'org-latex-format-headline-default-function org-capture-templates '(("c" "Contacts" entry (file "~/org/contacts/contacts.org") "* %(org-contacts-template-name)\n :PROPERTIES:\n :MOBILE: \n :PHONE:\n :ADDRESS:\n :BIRTHDAY:\n :LAST_CONTACT:\n :NOTES:\n \n :EMAIL: %(org-contacts-template-email)\n :END:") ) org-after-todo-state-change-hook '(org-clock-out-if-current) org-latex-format-drawer-function '(lambda (name contents) contents) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-export-copy-to-kill-ring t org-mode-hook '(flyspell-mode (lambda nil (setq fill-column 78)) org-clock-load #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes org-mode-reftex-setup zotelo-minor-mode) org-export-with-tags 'not-in-toc org-ascii-format-drawer-function '(lambda (name contents width) contents) org-clock-persist 'history org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-export-blocks-witheld '(hidden comment) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-agenda-tags-column -102 org-export-with-drawers nil org-agenda-ndays 7 org-link-abbrev-alist '(("osm" . "http://nominatim.openstreetmap.org/search?q=%s&polygon=1") ) org-babel-tangle-lang-exts '(("C++" . "cpp") ("latex" . "tex") ("java" . "java") ("python" . "py") ("emacs-lisp" . "el")) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-html-format-headline-function 'ignore org-babel-load-languages '((emacs-lisp . t) (python . t) (R . t) (sh . t) (java . t) (latex . t) (screen . t) (gnuplot . t) (dot . t) (org . t) (C . t) (octave . t)) org-export-preprocess-after-headline-targets-hook '(org-impress-js-save-entry-properties) org-html-format-inlinetask-function 'ignore org-agenda-files '("~/org/master.org" "~/research/notes/meetings.org") org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-confirm-babel-evaluate nil ) -- Cheers, Marko Dimjašević