-
I need to use Is it possible to achieve this with Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Answered by
UziTech
Nov 18, 2021
Replies: 1 comment 1 reply
-
You can replace the table tokenizer and always return Something like: const tokenizer = {
table() {}
};
const renderer = {
checkbox(checked) {
return `[${checked ? 'x' : ' '}] `;
}
};
marked.use({tokenizer, renderer}); |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
rfgamaral
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can replace the table tokenizer and always return
undefined
. And for the task list the easiest thing is probably to replace thecheckbox
renderer and output the text instead of a checkbox.Something like: