separated markdown page generation into dedicated task, added support for youtube videos