added path stuff and katex rending
Merge branch 'dev'