vale icon indicating copy to clipboard operation
vale copied to clipboard

Vale does not ignore unnamed source code blocks in org markdown

Open Cerebus opened this issue 8 months ago • 1 comments

Check for existing issues

  • [x] Completed

Environment

  • Emacs: any version
  • OS: any
  • Install: any
  • vale version 3.9.5

Describe the bug / provide steps to reproduce it

In org mode, the name keyword is optional for source code blocks.

An inline code block conforms to this structure:

          src_<language>{<body>}

or

          src_<language>[<header arguments>]{<body>}

‘#+NAME: ’ Optional. [...]

vale should ignore #+begin_src blocks that don't have #+name.

Cerebus avatar Mar 17 '25 13:03 Cerebus

I can't reproduce this. Can you share a failing example?

jdkato avatar Mar 19 '25 06:03 jdkato