Skip to content

Commit

Permalink
Quiet new subjectScheme warnings from preprocess2
Browse files Browse the repository at this point in the history
Add syntax keywords for GitHub wiki code blocks to prevent warnings
when building with map-first preprocessing (`preprocess2`):

> [DOTJ049W][WARN] The @outputclass attribute value 'markdown' on the
<codeblock> element does not comply with the specified subject scheme.

https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting

Signed-off-by: Roger Sheen <[email protected]>
  • Loading branch information
infotexture committed Jan 28, 2024
1 parent 23f1f8a commit 3b0ba22
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions resources/subjectscheme-outputclass.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@
<subjectdef keys="language-svg"/>
<subjectdef keys="language-xml"/>
<subjectdef keys="language-yaml"/>
<!-- Fenced code blocks in GitHub wiki -->
<subjectdef keys="java"/>
<subjectdef keys="markdown"/>
<subjectdef keys="xml"/>
<subjectdef keys="yaml"/>
</subjectdef>
<subjectdef keys="codeblock-syntax">
<topicmeta>
Expand Down

0 comments on commit 3b0ba22

Please sign in to comment.