Skip to content

Commit 319ad53

Browse files
committed
Add C and C++ to README
1 parent 8fe71a2 commit 319ad53

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ void main() {
4848
Currently the following languages are supported with
4949
the specified default and alternative IDs:
5050

51+
- C (`c`)
52+
- C++ (`cpp`)
5153
- Dart (`dart`)
5254
- Groovy (`groovy`, `gradle`)
5355
- HTML (`html`)

test/goldens/c/hello-world.out

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#include <stdio.h>
2-
^^^^^^^^^^^^^^^^^^
3-
source-code-c-metadata-preprocessor
2+
^
3+
source-code-c-metadata-preprocessor-directive-punctuation
4+
^^^^^^^
5+
source-code-c-metadata-preprocessor-directive-metadata-preprocessor-directive-name
6+
^^^^^^^^^^
7+
source-code-c-metadata-preprocessor-directive-metadata-preprocessor-directive-options
48

59
const char* message = "Hello, world!";
610
^^^^^

0 commit comments

Comments
 (0)