Skip to content
a Markdown preview app written in Clojurescript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
src/mdpreview
.gitattributes
.gitignore
LICENSE.md
README.md
package.json
shadow-cljs.edn

README.md

Markdown Preview

with Reagent, Shadow-cljs and Clojurescript

Go to the live demo.

How to use

Just type text in markdown format into the textfield. The preview updates automatically.

Motivation

I made this project because I enjoy Clojurescript and Reagent.
I've created some small projects in React but wanted to see how it compares to Reagent/Clojurescript.

The app stores the state in a separate state.cljs file but you could easily use component-local state with a reagent form-2 component.

Tech/Frameworks Used

Built with

Further Reading

I wrote a blog post about this project where I explain the code.

Credits

Thanks to Jacek Schae for his Shadow Reagent Template.

License

MIT License

Copyright © 2019 Sophia Brandt

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.