-
-
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
31 additions
and
8 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
9 changes: 9 additions & 0 deletions
9
packages/remark-shaku-code-annotate/src/__tests__/langs/rust/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,9 @@ | ||
```rust annotate | ||
// @dim | ||
fn main() { | ||
let square = variable * variable; | ||
// -------- | ||
// ^ | ||
// [Hello World!] | ||
} | ||
``` |
1 change: 1 addition & 0 deletions
1
packages/remark-shaku-code-annotate/src/__tests__/langs/rust/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 dim"><span style="color: #D73A49">fn</span><span style="color: #24292E"> </span><span style="color: #6F42C1">main</span><span style="color: #24292E">() {</span></div><div class="line"><span style="color: #24292E"> </span><span style="color: #D73A49">let</span><span style="color: #24292E"> square </span><span style="color: #D73A49">=</span><span style="color: #24292E"> variable </span><span style="color: #D73A49">*</span><span style="color: #24292E"> variable; </span></div><div class="shaku-underline shaku-underline-solid" style="left:15ch"><span class="shaku-underline-line" style="left:0ch">--------</span></div><div class="shaku-callout" style="left:10ch"><span class="shaku-callout-arrow" style="left:8ch"></span><p>Hello World!</p></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
6bdb5dd
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-git-main-jserzanp.vercel.app
shaku-web-jserzanp.vercel.app
shaku-web.vercel.app