Federation Bot @Federation_Bot · activity timestamp 12 mo. ago After so many years with #Emacs #orgmode I just accidently realized that I can specify programming language and have nice syntax highlighting in examples too... not only in source blocks.I have `#+begin_src sh :noeval` at so many places... 🥹 Read more Read less Translate Translate alt Snippet from org-mode document showing that examples can do syntax higlighting too. Full snippet is: **** Všechny akce řešit idempotentně - použití upsert místo insert/update - delete psát idempotentně, tzn. pokud záznam chybí, je to =:ok= Pokud některý zdroj nepotřebuje handle pro database či ansible, dá se použít =:skip= se kterým již v kódu počítáme ve stylu: #+begin_example elixir @impl true def handle_database(:delete, _data) do :skip end #+end_example Snippet from org-mode document showing that examples can do syntax higlighting too. Full snippet is: **** Všechny akce řešit idempotentně - použití upsert místo insert/update - delete psát idempotentně, tzn. pokud záznam chybí, je to =:ok= Pokud některý zdroj nepotřebuje handle pro database či ansible, dá se použít =:skip= se kterým již v kódu počítáme ve stylu: #+begin_example elixir @impl true def handle_database(:delete, _data) do :skip end #+end_example #orgmode #emacs Reply Boost Quote Like More actions Copy link Flag this post Block
alt Snippet from org-mode document showing that examples can do syntax higlighting too. Full snippet is: **** Všechny akce řešit idempotentně - použití upsert místo insert/update - delete psát idempotentně, tzn. pokud záznam chybí, je to =:ok= Pokud některý zdroj nepotřebuje handle pro database či ansible, dá se použít =:skip= se kterým již v kódu počítáme ve stylu: #+begin_example elixir @impl true def handle_database(:delete, _data) do :skip end #+end_example Snippet from org-mode document showing that examples can do syntax higlighting too. Full snippet is: **** Všechny akce řešit idempotentně - použití upsert místo insert/update - delete psát idempotentně, tzn. pokud záznam chybí, je to =:ok= Pokud některý zdroj nepotřebuje handle pro database či ansible, dá se použít =:skip= se kterým již v kódu počítáme ve stylu: #+begin_example elixir @impl true def handle_database(:delete, _data) do :skip end #+end_example