* Bug: ox-md: URL in HTML tables should not use markdown syntax [9.3.1 (9.3.1-dist @ /usr/share/emacs/site-lisp/elpa/org-9.3.1/)]
@ 2020-06-22 16:37 Dominique Dumont
2020-06-23 13:53 ` Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: Dominique Dumont @ 2020-06-22 16:37 UTC (permalink / raw)
To: emacs-orgmode
Hi
The following org-mode table is exported in plain markdown mode as an
HTML table:
| name | link |
|--------+--------|
| debian | [[http://www.debian.org][debian]] |
Unfortunately, the link inside the table is exported with Markdown
syntax:
<tbody>
<tr>
<td class="org-left">debian</td>
<td class="org-left">[debian](http://www.debian.org)</td>
</tr>
This is not allowed according to markdownguide.org : "You can’t use
Markdown syntax inside block-level HTML tags. For example, <p>italic and
**bold**</p> won’t work."
See https://www.markdownguide.org/basic-syntax#html-best-practices
Could you fix ox-md.el to export links (and maybe other markupds) as
HTML inside a table ?
All the best
------------------------------------------------------------------------
Emacs : GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20)
of 2020-05-17, modified by Debian
Package: Org mode version 9.3.1 (9.3.1-dist @ /usr/share/emacs/site-lisp/elpa/org-9.3.1/)
current state:
==============
(setq
org-duration-format '((special . h:mm))
org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer)
org-link-shell-confirm-function 'yes-or-no-p
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
org-refile-targets '(("~/private/gtd/gtd.org" :maxlevel . 3)
("~/private/gtd/someday.org" :level . 1)
("~/private/gtd/tickler.org" :maxlevel . 2))
org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function
org-odt-format-headline-function 'org-odt-format-headline-default-function
org-agenda-files '("~/private/gtd/inbox.org" "~/private/gtd/gtd.org"
"~/private/gtd/tickler.org")
org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
org-plantuml-jar-path "/usr/share/plantuml/plantuml.jar"
org-mode-hook '(#[0 "\300\301\302\303\304$\207"
[add-hook change-major-mode-hook org-show-all append local] 5]
#[0 "\300\301\302\303\304$\207"
[add-hook change-major-mode-hook org-babel-show-result-all append local]
5]
org-babel-result-hide-spec org-babel-hide-all-hashes
#[0 "\301\211\207" [imenu-create-index-function org-imenu-get-tree] 2]
org-eldoc-load)
org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
org-archive-hook '(org-attach-archive-delete-maybe)
org-confirm-elisp-link-function 'yes-or-no-p
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-metaup-hook '(org-babel-load-in-session-maybe)
org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn ENTRY)"]
org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"]
org-babel-pre-tangle-hook '(save-buffer)
org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
org-babel-load-languages '((emacs-lisp . t) (shell . t) (perl . t) (js . t) (plantuml . t))
org-link-file-path-type 'relative
org-export-backends '(md odt latex icalendar html ascii)
org-ascii-format-drawer-function #[771 "\207" [] 4 "\n\n(fn NAME CONTENTS WIDTH)"]
org-src-lang-modes '(("redis" . redis) ("php" . php) ("C" . c) ("C++" . c++)
("asymptote" . asy) ("bash" . sh) ("beamer" . latex)
("calc" . fundamental) ("cpp" . c++) ("ditaa" . artist)
("dot" . fundamental) ("elisp" . emacs-lisp) ("ocaml" . tuareg)
("screen" . shell-script) ("shell" . sh) ("sqlite" . sql))
org-occur-hook '(org-first-headline-recenter)
org-structure-template-alist '(("n" . "notes") ("a" . "export ascii") ("c" . "center")
("C" . "comment") ("e" . "example") ("E" . "export")
("h" . "export html") ("l" . "export latex") ("q" . "quote")
("s" . "src") ("v" . "verse"))
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
org-todo-keywords '((sequence "TODO(t)" "WAITING(w)" "|" "DONE(d)" "CANCELLED(c)"))
org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate)
org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function
org-babel-tangle-lang-exts '(("vala" . "vala") ("ruby" . "rb") ("python" . "py")
("picolisp" . "l") ("ocaml" . "ml") ("maxima" . "max")
("lua" . "lua") ("lisp" . "lisp") ("LilyPond" . "ly")
("latex" . "tex") ("java" . "java") ("groovy" . "groovy")
("clojure" . "clj") ("D" . "d") ("C++" . "cpp")
("perl" . "pl") ("emacs-lisp" . "el") ("elisp" . "el"))
org-confirm-shell-link-function 'yes-or-no-p
org-link-parameters '(("attachment" :follow org-attach-open-link :export
org-attach-export-link :complete org-attach-complete-link)
("id" :follow org-id-open)
("eww" :follow eww :store org-eww-store-link)
("rmail" :follow org-rmail-open :store org-rmail-store-link)
("mhe" :follow org-mhe-open :store org-mhe-store-link)
("irc" :follow org-irc-visit :store org-irc-store-link :export
org-irc-export)
("info" :follow org-info-open :export org-info-export :store
org-info-store-link)
("gnus" :follow org-gnus-open :store org-gnus-store-link)
("docview" :follow org-docview-open :export org-docview-export :store
org-docview-store-link)
("bibtex" :follow org-bibtex-open :store org-bibtex-store-link)
("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete
org-bbdb-complete-link :store org-bbdb-store-link)
("w3m" :store org-w3m-store-link) ("file+sys") ("file+emacs")
("shell" :follow org-link--open-shell)
("news" :follow
#[257 "\301\300\302Q!\207" ["news" browse-url ":"] 5
"\n\n(fn URL)"]
)
("mailto" :follow
#[257 "\301\300\302Q!\207" ["mailto" browse-url ":"] 5
"\n\n(fn URL)"]
)
("https" :follow
#[257 "\301\300\302Q!\207" ["https" browse-url ":"] 5
"\n\n(fn URL)"]
)
("http" :follow
#[257 "\301\300\302Q!\207" ["http" browse-url ":"] 5
"\n\n(fn URL)"]
)
("ftp" :follow
#[257 "\301\300\302Q!\207" ["ftp" browse-url ":"] 5 "\n\n(fn URL)"]
)
("help" :follow org-link--open-help)
("file" :complete org-link-complete-file)
("elisp" :follow org-link--open-elisp)
("doi" :follow org-link--open-doi))
org-latex-format-headline-function 'org-latex-format-headline-default-function
org-link-elisp-confirm-function 'yes-or-no-p
org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function
org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
org-html-format-headline-function 'org-html-format-headline-default-function
org-confirm-babel-evaluate nil
org-use-sub-superscripts '{}
org-agenda-custom-commands '(("o" "At the office" tags-todo "@office"
((org-agenda-overriding-header "Office")
(org-agenda-skip-function
(function my-org-agenda-skip-all-siblings-but-first))
)
)
)
org-default-notes-file "/home/domi/org/notes.org"
)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-06-23 16:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-22 16:37 Bug: ox-md: URL in HTML tables should not use markdown syntax [9.3.1 (9.3.1-dist @ /usr/share/emacs/site-lisp/elpa/org-9.3.1/)] Dominique Dumont
2020-06-23 13:53 ` Nicolas Goaziou
2020-06-23 16:16 ` Dominique Dumont
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.