Skip to content

Instantly share code, notes, and snippets.

\documentclass{article}
\newenvironment{logentry}[2]% date, heading
{\noindent\textbf{#2} - {#1}\\}{\vspace{0.5cm}}
\begin{document}
\begin{logentry}{2017-11-28}{Start of Diary}
Totally diary stuff...
\end{logentry}
@AntonyChurch
AntonyChurch / .eslintrc.json
Created June 9, 2017 17:12
Linter options file for Ember CLI 2.13.2
{
"rules": {
"eqeqeq": "off",
"curly": "warn"
},
"parserOptions":{
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
Ember.Handlebars.registerBoundHelper('markdown', function (content) {
return new Handlebars.SafeString(markdown.toHTML(content));
});