Repository navigation
Adding markdown loader, readme page. - #45
Conversation
There was a problem hiding this comment.
Could you change it to this?
var readme = { __html: require("./../../README.md") };
return <div style={style.default} dangerouslySetInnerHTML={readme}></div>;|
Thanks @sokra, fixed both. |
I think it intended to mark html strings with var a = {__html: "..."};
var b = getSomething(...);
<div dangerouslySetInnerHTML={condition ? a : b} />Not obvious whether |
|
OK i see; this way searching for |
|
PS. In my inexperience i did this in my master branch, which of course is not practical for my development. If you could reject or accept this PR soon it would be much appreciated. :) |
|
Sure |
|
Thanks for the PR |
The readme says markdown should be supported, this fixes that.
Also added page example that just shows README.md