azu / azu/gitbook-plugin-include-codeblock
Warning message for cmake code
Open
bug
- Dominant language
- JavaScript
- Stars
- 40
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
When including a snippet of `CMakeLists.txt`, auto language discovery fails, so `lang:'cmake'` is necessary. But, when adding that, include-codeblock gives a warning:
```
warn: include-codeblock: unknown language `cmake`, use default
```
But the highlighting works fine.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the warning by including a CMakeLists.txt snippet with lang:'cmake', then trace the include-codeblock language handling that reports cmake as unknown. Done means the warning is gone while CMake highlighting continues to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100