-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
42 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
packages/remark-shaku-code-annotate/src/__tests__/langs/c/input.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
```python annotate | ||
// @dim | ||
#include <stdio.h> | ||
|
||
int main() { | ||
int x = 10; | ||
// ----------- | ||
// ^ | ||
// [Hello World!] | ||
return 0; | ||
} | ||
``` |
1 change: 1 addition & 0 deletions
1
packages/remark-shaku-code-annotate/src/__tests__/langs/c/output.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<pre class="shiki github-light" style="color:#24292e;background-color:#fff"><div class="code-container"><code><div class="line"><span style="color: #D73A49">//</span><span style="color: #24292E"> </span><span style="color: #D73A49">@</span><span style="color: #24292E">dim</span></div><div class="line"><span style="color: #6A737D">#include <stdio.h></span></div><div class="line"></div><div class="line"><span style="color: #005CC5">int</span><span style="color: #24292E"> main() {</span></div><div class="line"><span style="color: #24292E"> </span><span style="color: #005CC5">int</span><span style="color: #24292E"> x = </span><span style="color: #005CC5">10</span><span style="color: #24292E">;</span></div><div class="line"><span style="color: #D73A49">//</span><span style="color: #24292E"> </span><span style="color: #B31D28">----------</span><span style="color: #D73A49">-</span></div><div class="line"><span style="color: #D73A49">//</span><span style="color: #24292E"> </span><span style="color: #D73A49">^</span></div><div class="line"><span style="color: #D73A49">//</span><span style="color: #24292E"> [Hello World!]</span></div><div class="line"><span style="color: #24292E"> </span><span style="color: #D73A49">return</span><span style="color: #24292E"> </span><span style="color: #005CC5">0</span><span style="color: #24292E">;</span></div><div class="line"><span style="color: #24292E">}</span></div></code></div></pre> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4917e07
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
shaku-web – ./
shaku-web.vercel.app
shaku-web-git-main-jserzanp.vercel.app
shaku-web-jserzanp.vercel.app