Skip to content

Commit

Permalink
Add support for Typst
Browse files Browse the repository at this point in the history
  • Loading branch information
boyter committed May 6, 2024
1 parent df45b7f commit abc8742
Show file tree
Hide file tree
Showing 7 changed files with 2,524 additions and 2,486 deletions.
1 change: 1 addition & 0 deletions LANGUAGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ Twig Template (twig)
TypeScript (ts,tsx)
TypeScript Typings (d.ts)
TypeSpec (tsp)
Typst (typ)
Unreal Script (uc,uci,upkg)
Ur/Web (ur,urs)
Ur/Web Project (urp)
Expand Down
6 changes: 3 additions & 3 deletions SCC-OUTPUT-REPORT.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<th>453</th>
<th>7424</th>
<th>1516</th>
<th>398801</th>
<th>399177</th>
<th>3929</th>
</tr><tr>
<td>processor/workers_test.go</td>
Expand Down Expand Up @@ -318,7 +318,7 @@
<td>0</td>
<td>4</td>
<td>0</td>
<td>172313</td>
<td>172689</td>
<td>5</td>
</tr></tbody>
<tfoot><tr>
Expand All @@ -329,7 +329,7 @@
<th>453</th>
<th>7424</th>
<th>1516</th>
<th>398801</th>
<th>399177</th>
<th>3929</th>
</tr>
<tr>
Expand Down
16 changes: 16 additions & 0 deletions examples/language/typst.typ
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// 16 lines 9 code 3 comments 4 blanks

// Some example settings
#set document(title: "a title", author: "an author")
#set page(numbering: "1 / 1", number-align: center)
#set par(justify: true)
#set text(size: 13pt, lang: "fr") // with a trailing comment
#set heading(numbering: "1.1") /* with another trailing comment */

#let foo = "multiline
string"

#let bar = "singleline string"

/* comment */ /* nested /* comment */ */
#lorem(50)
Loading

0 comments on commit abc8742

Please sign in to comment.