Client Tasks (#8889)

* tasks: markdown style, checkboxes. Misc fixes

* add filtering to tasks

* client tasks: complete filtering
This commit is contained in:
Matteo Pagliazzi
2017-07-22 20:30:08 +02:00
committed by GitHub
parent e6dd0d5e82
commit 31bbac1751
13 changed files with 339 additions and 28 deletions

View File

@@ -0,0 +1,8 @@
import habiticaMarkdown from 'habitica-markdown';
export default function markdown (el, {value, oldValue}) {
if (value === oldValue) return;
el.innerHTML = habiticaMarkdown.render(value);
el.classList.add('markdown');
}