mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-04 23:41:37 -05:00
jupyter-org-client.el: Check for tables when mime type is text/org
This allows for better integration with backends that can generate org-format tables.
This commit is contained in:
parent
a4d95aab80
commit
05d01ee1e5
1 changed files with 2 additions and 0 deletions
|
@ -963,6 +963,8 @@ passed to Jupyter org-mode source blocks."
|
|||
|
||||
(cl-defmethod jupyter-org-result ((_mime (eql :text/org)) _params data
|
||||
&optional _metadata)
|
||||
(when (string-match-p org-table-line-regexp data)
|
||||
(put-text-property 0 1 'org-table t data))
|
||||
(jupyter-org-raw-string data))
|
||||
|
||||
(cl-defmethod jupyter-org-result ((mime (eql :image/png)) params data
|
||||
|
|
Loading…
Add table
Reference in a new issue