Skip to content

Commit

Permalink
Improved Minimal Working Example (•̀ᴗ•́)و
Browse files Browse the repository at this point in the history
  • Loading branch information
alhassy committed Apr 28, 2020
1 parent 88ef3aa commit d105475
Show file tree
Hide file tree
Showing 3 changed files with 142 additions and 94 deletions.
30 changes: 18 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,28 +346,34 @@ replaces all words *foo* in a block, by declaring the following.

## Minimal working example

The following example showcases the prominent features of this library.

#+begin_parallel
Name this file test.org, then write something like doc:loop
now press =C-c C-e h o= and your browser will open a pretty
document. Hover over the previous “loop” and you'll see its
documentation!
[[color:orange][Are you excited to learn some Lisp?]] blue:yes!

Pop-quiz: How does doc:apply work?
#+end_parallel

#+begin_details
Syntactically, ~(apply f '(x0 ... xN)) = (f x0 ... xN)~.

Now the right column, has a first-class editorial comment
and an SVG badge.
[[edcomm:Musa][Ain't that cool?]]

#+begin_edcomm
Super neat stuff!
#+end_edcomm
[[color:purple][We can apply a function to a list of arguments!]]
#+end_details

#+LATEX_HEADER: \usepackage{multicol}
#+LATEX_HEADER: \usepackage{tcolorbox}
#+latex: In the LaTeX output, we have a glossary.

show:GLOSSARY

badge:thanks|for_reading

tweet:https://github.com/alhassy/org-special-block-extras

badge:|buy_me_a coffee|gray|https://www.buymeacoffee.com/alhassy|buy-me-a-coffee

doc:thread-first
#+end_parallel


## Bye!

Expand Down
Loading

0 comments on commit d105475

Please sign in to comment.