markdown widget implementation