This is a new page that people can use to test out editing in Ghost.
I got the settings set up to include some of the Prism.JS features (https://cdnjs.com/libraries/prism).
I also added MathJaX so presumably $x$ should work? Yep!
If you're inside of Markdown presumably it's similar: $y$ ($y$
).
(ns helloworld.core)
;;; why
(defn -main
"I can say 'Hello World'."
[]
(println "Hello, World!"))
fac n = if n == 0 then 1 else n * fac (n-1)
package main
import "fmt"
func main() {
fmt.Println("hello world")
}
;; could this be set up so that long lines wrap, rather than scrolling to the right? this seems more convenient for readers. Simple solutions lose the code indenting and don't respect line numbers either!
(defun hello ()
(print "hello"))
pre[class*="language-"].line-numbers {
position: relative;
padding-left: 3.8em;
counter-reset: linenumber;
}