I showed you my source code, pls respond
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.5 KiB

  1. #+TITLE: Conf
  2. #+AUTHOR: Christopher James Hayward
  3. #+EMAIL: chris@chrishayward.xyz
  4. #+PROPERTY: header-args:emacs-lisp :tangle conf.el :comments org
  5. #+PROPERTY: header-args:shell :tangle no
  6. #+PROPERTY: header-args :results silent :eval no-export :comments org
  7. #+OPTIONS: num:nil toc:nil todo:nil tasks:nil tags:nil
  8. #+OPTIONS: skip:nil author:nil email:nil creator:nil timestamp:nil
  9. Support for different configuration languages.
  10. * Config
  11. Add support for different configuration languages, or other modules that don't fit in their own module (yet).
  12. ** HTTP
  13. Interact with ~HTTP~ endpoints using the ~ob-http~[fn:1] package. You can see how it works in my post here[fn:2]. It adds interactive ~HTTP~ blocks that can output their results in place, within an ~org-mode~ buffer.
  14. #+begin_src emacs-lisp
  15. (use-package ob-http
  16. :after org
  17. :config (org-babel-do-load-languages
  18. 'org-babel-load-languages '((http . t))))
  19. #+end_src
  20. ** YAML
  21. Support for YAML[fn:3] files.
  22. #+begin_src emacs-lisp
  23. (use-package yaml-mode)
  24. #+end_src
  25. ** gRPC
  26. Support for gRPC[fn:4] protocol buffer definition files.
  27. #+begin_src emacs-lisp
  28. (use-package protobuf-mode
  29. :after org
  30. :config (add-to-list 'org-structure-template-alist '("pb" . "src protobuf")))
  31. #+end_src
  32. * Footnotes
  33. [fn:1] https://github.com/zweifisch/ob-http
  34. [fn:2] https://chrishayward.xyz/posts/kanye-as-a-service/
  35. [fn:3] https://emacswiki.org/emacs/YamlMode
  36. [fn:4] https://github.com/protocolbuffers/protobuf/blob/master/editors/protobuf-mode.el