bug-fix: markdown toggle issue