custom realtime markdown viewer init