OpenUI5 Developer Blog Showdown
JavaScript HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
webapp
.gitignore
.project.json
.user.project.json
LICENSE
README.md
neo-app.json
ui5.control.Showdown.png

README.md

Showdown

OpenUI5 Developer Blog

UI5 control to view Markdown content inside your app using Showdown javascript library.

Online Demo (SAP HCP)

Screenshot

Initialize

With JavaScript

new de.blogspot.openui5.showdown.control.Showdown({
	src : "../path/readme.md"
});

With XMLView

xmlns:sd="de.blogspot.openui5.showdown.control"
...
<sd:Showdown src="../path/readme.md" />

Remarks

I did not mark it as a general control component, because i added the prettify dependency directly inside the control. I liked the prettify extension to easily highlight code inside Markdown and therefore it is enabled in my demo.

The control should be used as a starting point to extend it to your needs.

License

Showdown is released under the Apache license. Have at it.