Project Details
Write a script that shows content typed into the textarea#content
field in the #preview-content
element.
Bonus: Convert the content from markdown to HTML using an open source plugin like MarkedJS.
Considerations
- How do you handle line breaks?
- How can you structure the script to support additional fields without having to change the code?
Need help?
This project is part of the Writing Plugins pocket guide and video course.