Hybrid hook to support fill-mode and visual-mode in markdown.