this is for holding javascript data
Beni Cherniavsky-Paskin Merge remote-tracking branch 'origin/gh-pages'
Dropping gh-pages, switching GitHub Pages to serve from master for simplicity.
over 6 years ago
Commit id: a34f5181eb779bb6728725f0b21fd9bc78c0d0a8
deletions | additions
diff --git a/CNAME b/CNAME
new file mode 100644
index 0000000..021f88b
--- /dev/null
+++ b/CNAME
...
github-cben-sandbox.anat-beni.net
diff --git a/README.md b/README.md
index 63e497e..7846eba 100644
--- a/README.md
+++ b/README.md
...
C-x M-c M-butterfly
##
LaTeX Nested fenced blocks
Example content taken from Authorea. Currently only `test.tex` is used. `````markdown
Foo:
```ruby
block.parents.map {|b| b.language}
```
bar.
`````
Compiled via ShareLaTeX's CI: [![PDF Status](https://www.sharelatex.com/github/repos/cben/sandbox/builds/latest/badge.svg)](https://www.sharelatex.com/github/repos/cben/sandbox/builds/latest/output.pdf) ---
## This is a `##` header(?) prefixed with a space, let's see if it counts as header?
## LaTeX sync playground
As of 2015–2016 my recommendadion for collaborative LaTeX editing is [Overleaf](https://overleaf.com) (former WriteLaTeX).
It has real-time collaborative editing but you can also [work offline using Git][1].
For co-authors that want to work offline / use their favorite editor, but that don't want to learn Git, Github is a good place because any github repo can transparently also be cloned over SVN!
But then what if you want to also edit offline?
- You can push/pull local clone to both overleaf and github.
Tip: overleaf creates git commits when you save in overleaf UI, but also on demand when you `git fetch` / `git pull`. So `git fetch` frequently to force more history :-)
- https://ShareLaTeX.com supports direct github sync. (ShareLaTeX is mostly open source but this feature isn't.) TODO: try it.
- I've enabled github sync for this repo on Authorea.
**That's where all the .tex files come from** (and `layout.md` which is not really markdown but list of files).
[1]: https://www.overleaf.com/blog/195-new-collaborate-online-and-offline-with-overleaf-and-git-beta
P.S. shameless plug: if anybody is reading this and looking for collaborative *markdown* editing with math, try https://Mathdown.net.
diff --git a/_layouts/default.html b/_layouts/default.html
index 7fc00e0..ecb8369 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
...
}
});
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS_HTML">
{{ content }}
diff --git a/_layouts/katex.html b/_layouts/katex.html
index b8cc7ca..1d3b01e 100644
--- a/_layouts/katex.html
+++ b/_layouts/katex.html
...
href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.2.0/katex.min.css">
href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css">
src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.js">