Skip to content
testing github
TeX HTML JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
hello-jupyter @ a66b6d6
json Update and rename to Jun 3, 2018

Repo on GitHub Repo on GitLab Repo on BitBucket


Dummy project to test various aspects of github / gitlab / bitbucket and integrations with it.

Testing abuse of relative links to link to issues: #1.


On Github Pages, README processed by Jekyll into

MathJax loaded in output via Jekyll template _layouts/default.html.

Delimiters recognized by kramdown:

inline $$ \frac{kram}{down} \sum_0^\infty $$ text.

$$ \frac{kram}{down} \sum_0^\infty $$

The second is display math because it occurs alone in a block.

See also <> -> for using KaTeX instead of MathJax.

Linking to headers

Test explicit anchor {#test-anchor}

Does github support explicit header anchors? link to #test-anchor => No

Does GitHub automatically generate ids for headers? Yes — doc

  • The links have no prefix: link to #linking-to-headers
  • However the actual anchor is prefixed id="user-content-linking-to-headers"! link to #user-content-linking-to-headers
    Interesting, this prefixed link scrolls to a slightly different place than #linking-to-headers. I'm not sure how the unprefixed #linking-to-headers link works at all, perhaps by JS parsing the URL?

Gitlab syntaxes

inline $\frac{kram}{down} \sum_0^\infty$ text.

\frac{kram}{down} \sum_0^\infty
graph TD;

Links in SVG?

img tag: markdown image syntax: gravizo inline svg tag:

<title>G</title> <title>link</title> link

See also — SVG links don't work in issue comments either.

Right-to-left עברית

נזכיר שעקומה מסדר שני היא בעלת מבנה כללי. $$a_{1,1}x^2+2a_{1,2}xy+a_{2,2}y^2+a_1x+a_2y+a=0$$

תרגיל. צייר את העקום $$.4x^2+2\sqrt{3}xy+2y^2-6=0$$

פתרון כדי להבין את מבנה העקום נאפס את המקדם של המונום $$xy$$ באמצעות טרנספורמציה מתאימה בין מערכות קורדינאטות. לפי הנוסחא שפיתחנו בהרצאה,תמיד ניתן לסובב את מערכת הקורדינאטות ב $$\theta$$ מעלות נגד כיוון השעון ולקבל מערכת מתאימה $$O'$$ שבה העקום הוא בעל צורה קנונית. ...

C-x M-c M-butterfly

Nested fenced blocks

```ruby {|b| b.language}

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 (former WriteLaTeX). It has real-time collaborative editing but you can also work offline using Git.

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 :-)

  • 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 which is not really markdown but list of files).

P.S. shameless plug: if anybody is reading this and looking for collaborative markdown editing with math, try

  • Testing push via svn with master configured "Protect this branch", "Include administrators".
You can’t perform that action at this time.