Support render HTML directly and using path of source folder for import.

Open for discussion purpose but should be considerable for future merge.