markdown: Remove orgtbl

Entirely removed orgtbl from markdown layer since it causes problems.
Users may still manually enable it if they know what they are doing.
This commit is contained in:
Lucius Hu 2022-01-08 23:54:57 -05:00 committed by Maxi Wolff
parent c3ad21645c
commit 7cb37ee58e
2 changed files with 0 additions and 13 deletions

View File

@ -14,7 +14,6 @@
- [[#automatic-mmm-mode-generation][Automatic MMM-Mode Generation]]
- [[#usage][Usage]]
- [[#generate-a-toc][Generate a TOC]]
- [[#editing-tables][Editing tables]]
- [[#key-bindings][Key bindings]]
- [[#element-insertion][Element insertion]]
- [[#element-removal][Element removal]]
@ -113,12 +112,6 @@ new languages instead of overriding the variable in your dotfile.
To generate a table of contents type on top of the buffer:
~SPC SPC markdown-toc-generate-toc RET~
** Editing tables
While =markdown-mode= provides functionality to edit tables, users of =org=
layer benefit from more sophisticated =orgtbl-mode=.
In order to use =orgtabl-mode=, add =org= layer to your =~/.spacemacs=.
* Key bindings
** Element insertion

View File

@ -30,7 +30,6 @@
markdown-mode
markdown-toc
mmm-mode
org
smartparens
valign
(vmd-mode :toggle (eq 'vmd markdown-live-preview-engine))))
@ -214,8 +213,3 @@
(dolist (mode markdown--key-bindings-modes)
(spacemacs/set-leader-keys-for-major-mode mode
"cP" 'vmd-mode))))
(defun markdown/post-init-org ()
(when (configuration-layer/layer-used-p 'org)
(add-hook 'markdown-mode-hook 'orgtbl-mode)
(spacemacs|diminish orgtbl-mode)))