-
-
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
3 changed files
with
26 additions
and
1 deletion.
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/sql/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 @@ | ||
```sql annotate | ||
-- Create a new table to store customer information | ||
CREATE TABLE Customers ( | ||
-- @dim | ||
CustomerID INT PRIMARY KEY, | ||
FirstName VARCHAR(50), | ||
-- ------- | ||
-- ^ | ||
-- [Hello World!] | ||
LastName VARCHAR(50) | ||
); | ||
``` |
1 change: 1 addition & 0 deletions
1
packages/remark-shaku-code-annotate/src/__tests__/langs/sql/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: #6A737D">-- Create a new table to store customer information</span></div><div class="line"><span style="color: #D73A49">CREATE</span><span style="color: #24292E"> </span><span style="color: #D73A49">TABLE</span><span style="color: #24292E"> </span><span style="color: #6F42C1">Customers</span><span style="color: #24292E"> (</span></div><div class="line dim"><span style="color: #24292E"> CustomerID </span><span style="color: #D73A49">INT</span><span style="color: #24292E"> </span><span style="color: #D73A49">PRIMARY KEY</span><span style="color: #24292E">,</span></div><div class="line"><span style="color: #24292E"> FirstName </span><span style="color: #D73A49">VARCHAR</span><span style="color: #24292E">(</span><span style="color: #005CC5">50</span><span style="color: #24292E">),</span></div><div class="shaku-underline shaku-underline-solid" style="left:14ch"><span class="shaku-underline-line" style="left:0ch">-------</span></div><div class="shaku-callout" style="left:9ch"><span class="shaku-callout-arrow" style="left:8ch"></span><p>Hello World!</p></div><div class="line"><span style="color: #24292E"> LastName </span><span style="color: #D73A49">VARCHAR</span><span style="color: #24292E">(</span><span style="color: #005CC5">50</span><span style="color: #24292E">)</span></div><div class="line"><span style="color: #24292E">);</span></div></code></div></pre> |
6246227
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