mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
* tasks: markdown style, checkboxes. Misc fixes * add filtering to tasks * client tasks: complete filtering
8 lines
227 B
JavaScript
8 lines
227 B
JavaScript
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');
|
|
} |