These are chat archives for ldnclj/chat

19th
Mar 2015
Jon Pither
@jonpither
Mar 19 2015 14:05
Afternoon
Guy Barlow
@rockBreaker
Mar 19 2015 14:06
howdy
Benedek Fazekas
@benedekfazekas
Mar 19 2015 14:06
'ola
Thomas
@thomas-shares
Mar 19 2015 14:23
Hi Jon
Jon Pither
@jonpither
Mar 19 2015 14:30
Wish Malcolm Sparks wasn't on holiday so he could show me how to edit markdown in org mode
There's some funky way you can do it
Jon Pither
@jonpither
Mar 19 2015 14:37
i.e. inline editing of markdown inside an org file. I can't find anything on google
Jon Pither
@jonpither
Mar 19 2015 15:28
Got it. In org somewhere, type <S then hit tab
this appears: #+BEGIN_SRC
fill this out to read #+BEGIN_SRC markdown
then, C-c ' to edit Markdown!
^ from Malcolm
Mark Godfrey
@msgodf
Mar 19 2015 15:31
@jonpither does it work?
Mark Godfrey
@msgodf
Mar 19 2015 15:38
oh, it does, as long as you avoid it replacing <s with <S
Jon Pither
@jonpither
Mar 19 2015 16:35
pretty cool isn't it
presumably there's a funky way to export and preview
on OSX I use Marked for previewing md files
not sure how'll gel in this setup
Korny Sietsma
@kornysietsma
Mar 19 2015 17:27
Maybe we could fork clojure and have a version where keywords are like :this:
(keyword "foo:") returns :foo: at the moment, but sadly :foo: isn't valid syntax
kornysietsma @kornysietsma wants more hugs
Bruce Durling
@otfrom
Mar 19 2015 17:40
I use the #+BEGIN_SRC stuff for my emacs config
You can write the following in Emacs Org-mode, fire up a repl and evaluate your code as you are writing it, to check it works, then save it and return back to your org-mode document... so cool.
#+BEGIN_SRC clojure
(defn inline-clojure-code [] (str "I am written inside emacs orgmode"))
(inline-clojure-code)
#+END_SRC
This message was deleted
John Stevenson
@jr0cket
Mar 19 2015 20:47
Once you write the source section, use C-c ' to launch a new buffer with clojure major mode and start coding...