Is this supposed to render <input> tags for checklists? #1205
Answered
by
ChristianMurphy
GavanWilhite
asked this question in
Q&A
-
I'm feeding this plugin into remark, but I'm not seeing any checkboxes like it shows in the readme. Is this intended? |
Beta Was this translation helpful? Give feedback.
Answered by
ChristianMurphy
Aug 12, 2023
Replies: 3 comments 7 replies
-
Welcome @GavanWilhite! 👋 |
Beta Was this translation helpful? Give feedback.
6 replies
-
Thanks Christian!
…On Sun, Aug 13, 2023 at 9:20 PM Christian Murphy ***@***.***> wrote:
Check boxes are indeed disabled.
This can be customized with a rehype plugin https://unifiedjs.com/learn/
Visit each check box and remove or replace the disabled property
https://github.com/syntax-tree/unist-util-visit and
https://github.com/syntax-tree/hast#element
—
Reply to this email directly, view it on GitHub
<#1205 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAP5B74K47YBWXTA7RNBEODXVGRSVANCNFSM6AAAAAA3MJNR2I>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
This comment was marked as off-topic.
This comment was marked as off-topic.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It should and it does.
An example of how it works with
react-markdown
which is also maintained by theremark
andremark-gfm
team.Runnable Sandbox: https://stackblitz.com/edit/github-qq6ok1?file=src%2Fapp.tsx
The issue is likely in
ChakraReactMarkdown
and its customizations toreact-markdown
or because you have not includedinput
in your list of allowed elements.