Advertisement
Guest User

Org mode parsing

a guest
Mar 29th, 2020
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. Org buffer to parse:
  2. ```
  3. * Request Title
  4. POST https://httpbin.org/post
  5. - Header1: value
  6. - Header2: value
  7. :FORM:
  8. - type: document
  9. - file: [[file:~/workspace/emacs-config/configuration.org][configuration.org]]
  10. :END:
  11. ```
  12. ideal output:
  13. ```
  14. (:regular . ("Header1: value" "Header2: value")
  15. :form . ("type: document" "file: ~/workspace/emacs-config/configuration.org")
  16. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement