orkmode/crates
Levi Neely d073c8fa5e Honor :results header args on code execution
Parse the :results switch from a src block's header arguments and apply
Emacs org-babel semantics when writing results:

- silent/none: execute and report, but do not write a #+RESULTS: block
- raw: insert output verbatim, no prefix or wrapping
- drawer: wrap output in a :results: ... 🔚 drawer
- default: fixed-width for <10 lines, #+begin_example for 10+

The insert_results detection loop now recognizes and replaces all four
wrapping styles in place, so re-execution and cross-mode transitions
(e.g. drawer to fixed-width) update cleanly without duplication. Raw
results, which have no delimiters, terminate at a blank line or heading.
2026-10-01 13:48:13 +02:00
..
org-ast Initial commit: org-mode parser and CLI 2026-09-30 09:43:21 +02:00
org-parser Add language plugin registry and Emacs-style #+RESULTS: formatting 2026-10-01 13:36:38 +02:00
ork-cli Add execute ctl verb for org-babel style code execution 2026-10-01 10:51:39 +02:00
ork-server Honor :results header args on code execution 2026-10-01 13:48:13 +02:00