Refined cursor rules and markdown editing.