The default Sukka Theme seems disable the markdown-render in the home page. As code here: post-entry-content.ejs#L7
I'm not sure why, since this feature could enable both image preview & better format.
Actually, I change some code which enables the markdown-render in the home page. And it works fine. Demo here: blog.bengxy.com
And here comes another problem:
post page use id=post-contentpost.ejs#L28. To reuse#post-content CSS-style code style.css#L654 to the index page. I need to change the id element into class (#post-content to .post-content) because the index page has multiple posts.
Will this action causes any other problems? I have not found problems util now but I'm not sure.
If there is no problem, could I send a pull request? 😊
Hi, SukkaW.
The default Sukka Theme seems disable the markdown-render in the home page. As code here: post-entry-content.ejs#L7
I'm not sure why, since this feature could enable both image preview & better format.
Actually, I change some code which enables the markdown-render in the home page. And it works fine. Demo here: blog.bengxy.com
And here comes another problem:
post page use
id=post-content
post.ejs#L28. To reuse#post-content
CSS-style code style.css#L654 to the index page. I need to change theid
element intoclass
(#post-content
to.post-content
) because the index page has multiple posts.Will this action causes any other problems? I have not found problems util now but I'm not sure.
If there is no problem, could I send a pull request? 😊