emacs-jupyter/jupyter

Leading colon not suppressed when wrapping result block

Open

#105 opened on Apr 29, 2019

 (13 comments) (0 reactions) (0 assignees)Emacs Lisp (106 forks)auto 404
enhancementhelp wantedorg

Repository metrics

Stars
 (1,028 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

When using the :wrap header argument the leading colon is not suppressed. Below I compare ob-python with emacs-jupyter:

#+begin_src python :results output :wrap org
  print('test')
#+end_src

#+RESULTS:
#+begin_src org
test
#+end_src

#+begin_src jupyter-python :session test :results output :wrap org
  print('test')
#+end_src

#+RESULTS:
#+begin_org
: test
#+end_org

Is it possible to suppress the leading colon when wrapping result blocks?

I also noticed this behavior when using:

#+begin_src jupyter-python :session test :results output org

Contributor guide