Add preview in markdown component