-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add markdown widget to docs #637
Comments
For the markdown widget config documentation, @hcavalieri has done an awesome job adding it to PR #866. For documenting the transformations, I'm wondering about the best location for this, debating between one of these options:
I'd love to hear others' thoughts on this. |
I'd expect a split between user docs and implementor docs. Not all widgets will require user docs, but this one will. |
Yeah, I think we need a guide to the rich text editor in the user docs for sure. What I'm not sure about is whether the markdown transformation details in the OP should belong there, or in one of the other two locations I listed. |
I think both, but catered to each. For user docs, I'd just note that using the visual editor will result in formatting optimizations to the underlying markdown document, and also note that references and footnotes aren't supported. The more fine-grained details could go in the implementation docs, but maybe we could cross link to that for users that want more advanced info. |
@verythorough if you're good with that, add the |
I agree with Shawn that we could have two different approaches for each and believe that displaying both is the way to go, but if you allow me to shoot some ideas:
(Sorry for writing so much 😅 ) |
Honestly, I think a long entry for the markdown widget is fine - it's a very complicated widget, night and day from the others in that regard, and there may be more like it in the future. Perhaps it will eventually be split out of the core and get a dedicated repo in the future, but a long entry is okay for now. +1 for visuals and a helpful markdown learning link in the user docs. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closing because the markdown widget is documented here: https://decapcms.org/docs/widgets/#markdown |
The markdown widget parses markdown documents to an AST, so non-abstract particulars are lost, such as whether a code block used four spaces or fences. We need to document these transformations so that users can anticipate them. This issue should first serve to collect the transformations, and can be closed with a documentation update PR.
Transformations:
Update: the markdown widget itself needs to be added to the new widgets docs.
The text was updated successfully, but these errors were encountered: