Compare commits
42 Commits
v2.1.0
...
v2.1.13/f2
Author | SHA1 | Date | |
---|---|---|---|
|
c73ee3f99f | ||
|
d41360b1aa | ||
|
611ea63edd | ||
|
dc8062dfc5 | ||
|
10889dba25 | ||
|
6bfc3273c0 | ||
|
f0e9e96fe4 | ||
|
baa386a39e | ||
|
f9b8dd6b0e | ||
|
d165a1b259 | ||
|
2cddfcbf6e | ||
|
de8fb56d48 | ||
|
0f0ff6ba1f | ||
|
1591bdaba5 | ||
|
7d289c8757 | ||
|
2d4d0dd6d4 | ||
|
6e8763b88d | ||
|
08201c3406 | ||
|
dd3d479a92 | ||
|
2694b2e9eb | ||
|
d0d224ba04 | ||
|
1ab736b2d5 | ||
|
e26e2cbeb2 | ||
|
250150f9a1 | ||
|
d380bd6724 | ||
|
987f255a87 | ||
|
19a5af8798 | ||
|
7be19f3b9b | ||
|
dce7a94677 | ||
|
04a01d80bb | ||
247eeb945e | |||
|
2bc466a29a | ||
|
37b543affe | ||
|
b1b80349cb | ||
|
f900fca1c0 | ||
|
6ccf2d2fad | ||
|
39c736e9db | ||
|
9b031313b6 | ||
|
1134628f06 | ||
|
575b97fa0c | ||
|
1b0ac8d324 | ||
|
03d85a07bb |
218
Daniel Chen.typ
218
Daniel Chen.typ
@@ -1,40 +1,27 @@
|
|||||||
#import "fontawesome.typ": *
|
#import "fontawesome.typ": fa, globe, github, linkedin, envelope
|
||||||
#import "lib.typ": template, education_entry, work_entry, project, indent
|
#import "lib.typ": template, work_entry, project, indent, SMALL_STRONG, DEFAULT_STRONG
|
||||||
|
|
||||||
#set page(margin: 1.75in)
|
// orange!!
|
||||||
#set par(leading: 0.5em, first-line-indent: 1.8em, justify: true)
|
#let color = rgb("#ff983e")
|
||||||
#show raw: set text(font: "New Computer Modern Mono")
|
|
||||||
#show par: set block(spacing: 0.55em)
|
|
||||||
#show heading: set block(above: 2em, below: 1em)
|
|
||||||
|
|
||||||
#set list(indent: 1em)
|
|
||||||
|
|
||||||
// Change the theme color of the cv.
|
|
||||||
#let color = black
|
|
||||||
#let name = "Daniel Chen"
|
#let name = "Daniel Chen"
|
||||||
|
|
||||||
#let contact_data = (
|
#let contact_data = ((
|
||||||
(
|
service: fa[#globe],
|
||||||
service: fa[#globe],
|
display: "eggworld.me",
|
||||||
display: "eggworld.me",
|
link: "https://eggworld.me",
|
||||||
link: "https://eggworld.me"
|
), (
|
||||||
),
|
service: fa[#github],
|
||||||
(
|
display: "github.com/potatoeggy",
|
||||||
service: fa[#github],
|
link: "https://github.com/potatoeggy",
|
||||||
display: "potatoeggy",
|
), (
|
||||||
link: "https://github.com/potatoeggy"
|
service: fa[#linkedin],
|
||||||
),
|
display: "linkedin.com/in/potatoeggy",
|
||||||
(
|
link: "https://www.linkedin.com/in/potatoeggy/",
|
||||||
service: fa[#linkedin],
|
), (
|
||||||
display: "potatoeggy",
|
service: fa[#envelope],
|
||||||
link: "https://www.linkedin.com/in/potatoeggy/"
|
display: "d7chen@uwaterloo.ca",
|
||||||
),
|
link: "mailto://d7chen@uwaterloo.ca",
|
||||||
(
|
),)
|
||||||
service: fa[#envelope],
|
|
||||||
display: "daniel.chen1@uwaterloo.ca",
|
|
||||||
link: "mailto://daniel.chen1@uwaterloo.ca"
|
|
||||||
),
|
|
||||||
)
|
|
||||||
|
|
||||||
#show: doc => template(name, contact_data, color, doc)
|
#show: doc => template(name, contact_data, color, doc)
|
||||||
|
|
||||||
@@ -43,80 +30,145 @@
|
|||||||
= Skills
|
= Skills
|
||||||
|
|
||||||
#indent[
|
#indent[
|
||||||
*Languages*: Python, JavaScript/TypeScript, Rust, SQL, C++, HTML, CSS, Bash, Java \
|
*Languages:* Python, TypeScript, JavaScript, Rust, SQL, MATLAB, C, C++, Java,
|
||||||
*Frameworks*: Node.js, Express, React, Next.js, Vue, Flutter, Qt, Prisma, Apollo \
|
HTML, CSS, Dart \
|
||||||
*Tools*: Linux, Git, Docker, Postgres, Redis, Kubernetes, AWS, GCP, Terraform
|
*Frameworks:* Node.js, Express, React, Next.js, Vue, Flutter, Qt, Prisma,
|
||||||
|
Apollo, Axum, Jest, Pytest \
|
||||||
|
*Tools:* Linux, Git, Docker, PostgreSQL, Redis, Kubernetes, AWS, GCP, Heroku,
|
||||||
|
OpenTelemetry, GraphQL, Android
|
||||||
]
|
]
|
||||||
|
|
||||||
= Experience
|
= Experience
|
||||||
|
|
||||||
#indent[
|
#indent[
|
||||||
#work_entry(
|
#show link: underline
|
||||||
"Software Engineering Intern",
|
#work_entry(
|
||||||
"Dropbase",
|
"Software Engineering Intern",
|
||||||
start_date: "May 2023", end_date: "Aug 2023",
|
"Dropbase",
|
||||||
location: "Remote",
|
start_date: "May 2023",
|
||||||
tasks: (
|
end_date: "Aug 2023",
|
||||||
"Designed a type-safe ORM-style query builder to dynamically generate JSON forms based on external data",
|
location: "Remote",
|
||||||
"Integrated Airtable and HubSpot APIs with the core product via AWS Lambda to automate data migration",
|
tasks: (
|
||||||
"Refactored the frontend to use React Hook Form to aggregate and validate user input, improving DX",
|
[Engineered a database-specific *SQL IDE autocompletion tool* via a heuristic
|
||||||
"Created a Pytest testing framework to verify core functionality across many different databases"
|
algorithm to validate queries],
|
||||||
|
[Developed a service to sync HubSpot and Airtable data with Google Sheets via
|
||||||
|
*AWS Lambda*],
|
||||||
|
[Constructed dynamic forms in *react-hook-form* by generating questions from the
|
||||||
|
backend on-the-fly],
|
||||||
|
[Created testing infrastructure for the backend with *Pytest* to catch
|
||||||
|
regressions across database engines],
|
||||||
|
),
|
||||||
)
|
)
|
||||||
)
|
|
||||||
|
|
||||||
#work_entry(
|
#work_entry(
|
||||||
"Backend Developer",
|
"Backend Developer",
|
||||||
"Hack the North",
|
"Hack the North",
|
||||||
start_date: "Mar 2023", end_date: "present",
|
start_date: "Mar 2023",
|
||||||
location: "Waterloo, ON",
|
end_date: "present",
|
||||||
tasks: (
|
location: "Waterloo, ON",
|
||||||
"Integrated OpenTelemetry and Grafana to trace API calls across a Kubernetes cluster",
|
tasks: (
|
||||||
"Dynamically generated Apple Wallet URLs over Apollo Server and GraphQL for a registration ticket",
|
[Streamlined registration by dynamically generating *user-specific Apple Wallet
|
||||||
"Increased API reliability with Redis Sentinel to automatically failover to a backup Redis instance",
|
passes* over *Apollo GraphQL*],
|
||||||
"Slashed dev server reload time by 1500% by pre-transpiling GraphQL resolvers and offloading type-checking"
|
[Horizontally scaled the *Node.js* server to handle *1000+ concurrent users* with
|
||||||
|
*Redis* and *Kubernetes*],
|
||||||
|
[Automated judging scheduling by creating a *greedy algorithm* to match judges to
|
||||||
|
project themes],
|
||||||
|
[Integrated *OpenTelemetry* and Grafana in a *Kubernetes* cluster to collect
|
||||||
|
traces and improve observability],
|
||||||
|
),
|
||||||
)
|
)
|
||||||
)
|
|
||||||
]
|
]
|
||||||
|
|
||||||
= Projects
|
= Projects
|
||||||
|
#set strong(delta: SMALL_STRONG)
|
||||||
|
|
||||||
#indent[
|
#indent[
|
||||||
#project("Mandown", "https://github.com/potatoeggy/mandown", "Python, Qt")
|
#project(
|
||||||
- Created a real-time site scraper for metadata and images to automatically download comics
|
"RecipeReady",
|
||||||
- Abstracted 4 ebook creation libraries into a common comic conversion API for e-ink devices
|
"https://devpost.com/software/recipeready-wk4bo9",
|
||||||
- Implemented image caching and multiprocessing to increase download and update speeds by 300%
|
"Flutter, Selenium, FastAPI, Android",
|
||||||
- Minimised regressions between release cycles by writing unit and integration tests with 55% code coverage
|
)
|
||||||
|
- Developed a *Flutter app* to generate recipes based on ingredients and filters
|
||||||
|
through a FastAPI server
|
||||||
|
- Scraped thousands of websites for recipes to build a database with a robust
|
||||||
|
*many-to-many tag system*
|
||||||
|
- Aggregated common ingredients heuristically to build a shopping list and a meal
|
||||||
|
plan for each week
|
||||||
|
|
||||||
// #project("Kobink", "https://github.com/potatoeggy/kobink", "Rust, Axum, Postgres")
|
#project(
|
||||||
// - ??? something here (reverse engineering)
|
"Genshin Simulator",
|
||||||
// - ??? something here (synchronisation and DB, HTTP headers)
|
"https://github.com/potatoeggy/primoprod",
|
||||||
|
"Vue, TypeScript, Capacitor, Android",
|
||||||
|
)
|
||||||
|
- Built an realistic *cross-platform loot box simulator* with fluid animations
|
||||||
|
based off a popular game
|
||||||
|
- Reduced action latency by *90%* by lazily loading art assets at opportune times,
|
||||||
|
such as during cutscenes
|
||||||
|
|
||||||
#project("RecipeReady", "https://github.com/vincentjguo/recipeready-server", "Flutter, Selenium, FastAPI, Android")
|
#project(
|
||||||
- Scraped thousands of websites for recipes to build a database with a robust many-to-many tag system
|
"Flashcard Generator",
|
||||||
- Designed a REST API to filter and query recipes along with ingredient pricing from Walmart
|
"https://github.com/potatoeggy/flashnote",
|
||||||
|
"Java, Android",
|
||||||
|
)
|
||||||
|
- Created an Android app to generate study *flashcards from handwritten notes*
|
||||||
|
using *Google Cloud*
|
||||||
|
- Interfaced with GCP's Vision and NLP APIs to extract text and keywords from
|
||||||
|
images with *Retrofit* and *Gson*
|
||||||
|
- Isolated key terms with GCP's NLP API to convert declarative sentences into
|
||||||
|
questions and answers
|
||||||
|
|
||||||
#project("\"Pillow\" Water Quality Sensor", "https://github.com/potatoeggy/ece198", "Rust, STM32")
|
#project(
|
||||||
- Created a water quality statistics aggregator and visualiser on an embedded platform in safe Rust
|
"Kobo Sync Server",
|
||||||
- Engineered an embedded system with an STM32 microcontroller, matrix keypad, and an LCD display
|
"https://github.com/potatoeggy/kobink",
|
||||||
|
"Rust, Axum",
|
||||||
|
)
|
||||||
|
- Developed an Axum backend to *automatically convert and sync* ebooks to a Kobo
|
||||||
|
eReader over the network
|
||||||
|
- *Reverse-engineered* the Kobo eReader Sync API to support updating ebook
|
||||||
|
metadata and covers
|
||||||
|
|
||||||
#project("Primoprod", "https://github.com/potatoeggy/primoprod", "Vue, TypeScript")
|
// #project(
|
||||||
- Mocked a video game UI using CSS to create a hyper-realistic, cross-platform game simulator
|
// "Comic Downloader & Converter",
|
||||||
- Constructed an extensible JSON data schema to concisely simplify adding new game content
|
// "https://github.com/potatoeggy/mandown",
|
||||||
|
// "Python, Qt",
|
||||||
|
// )
|
||||||
|
// - Created a CLI and GUI to scrape, download, and convert webcomics into
|
||||||
|
// e-ink-optimised ebooks (EPUB, PDF)
|
||||||
|
// - Designed an *intermediate representation* to store metadata and images as a
|
||||||
|
// standardised conversion target
|
||||||
|
// - Implemented *image caching and multiprocessing* to increase download and update
|
||||||
|
// speeds by *300%*
|
||||||
|
// - Minimised regressions between release cycles by writing *unit and integration
|
||||||
|
// tests* with 55% code coverage
|
||||||
|
|
||||||
|
// #project("Arch Linux Server", none, "Linux, nginx, systemd")
|
||||||
|
// - Created a *self-hosted CI/CD pipeline* with *Gitea* to automatically deploy
|
||||||
|
// personal projects behind *nginx*
|
||||||
|
// - Set up *Jellyfin* for media streaming, a *Minecraft* server, *Calibre* for ebook
|
||||||
|
// syncing, and other services
|
||||||
]
|
]
|
||||||
|
|
||||||
= Awards
|
= Awards
|
||||||
|
|
||||||
#show link: underline
|
#show link: underline
|
||||||
|
|
||||||
- Winner of the #link("https://github.com/anyuan-chen/resketch")[EdTech category] at StormHacks 2022 from 350+ participants
|
- Winner of the #link("https://github.com/anyuan-chen/resketch")[EdTech] prize at
|
||||||
- Winner of the #link("https://github.com/anyuan-chen/perdiem")[IBM Open Source category] at YRHacks 2022 from 90+ participants
|
StormHacks 2022 from 350+ participants
|
||||||
- 2nd place in the Industry 4.0 2021 engineering analytics competition from 200+ participants
|
- Winner of the #link("https://github.com/anyuan-chen/perdiem")[IBM Open Source] prize
|
||||||
|
at YRHacks 2022 from 90+ participants
|
||||||
|
|
||||||
= Education
|
= Education
|
||||||
|
|
||||||
#indent[
|
#indent[
|
||||||
#education_entry("University of Waterloo", "Candidate for B.A.Sc. in Computer Engineering", start_date: "Sep 2022", end_date: "present",
|
#work_entry(
|
||||||
location: "Waterloo, ON", details: (
|
"University of Waterloo",
|
||||||
[Secretary, Creative Writing Club],
|
"B.A.Sc. in Computer Engineering",
|
||||||
))
|
start_date: "Sep 2022",
|
||||||
|
end_date: "Apr 2027",
|
||||||
|
location: "Waterloo, ON",
|
||||||
|
tasks: (
|
||||||
|
[Courses: Object-oriented programming, data structures & algorithms, digital
|
||||||
|
computers & circuits],
|
||||||
|
),
|
||||||
|
)
|
||||||
]
|
]
|
7
README.md
Normal file
7
README.md
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# resume
|
||||||
|
|
||||||
|
Release guidelines:
|
||||||
|
|
||||||
|
- The major version represents the current academic year, e.g., both post-2A and 2B would be v2.
|
||||||
|
- The minor version represents the current academic term, e.g., 2A would be v2.1. the x.0 releases are reserved for beta changes.
|
||||||
|
- The patch version is incremented for any other reason.
|
806
fontawesome.typ
806
fontawesome.typ
File diff suppressed because it is too large
Load Diff
162
lib.typ
162
lib.typ
@@ -1,25 +1,21 @@
|
|||||||
#import "fontawesome.typ": github, fa
|
#import "fontawesome.typ": github, fa
|
||||||
// Reduce space between paragraphs.
|
|
||||||
#let par_space = 0.75em
|
|
||||||
// Reduce space between headings and descriptions.
|
|
||||||
#let sep_space = par_space + 0.1em
|
|
||||||
|
|
||||||
#let subtitle_space = par_space - 0.2em
|
#let DEFAULT_STRONG = 300;
|
||||||
|
#let SMALL_STRONG = 200;
|
||||||
|
|
||||||
// Format start and end dates.
|
#let TITLE_FONT = "Bitter"
|
||||||
#let format_date(start_date: none, end_date: none) = {
|
#let HEADING_FONT = TITLE_FONT
|
||||||
let date = {
|
#let BODY_FONT = "Open Sans"
|
||||||
if end_date == none {
|
|
||||||
start_date
|
|
||||||
} else if start_date == none {
|
|
||||||
end_date
|
|
||||||
} else {
|
|
||||||
[#start_date -- #end_date]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[*#date*]
|
#let BODY_FONT_SIZE = 10pt
|
||||||
}
|
#let HEADING_FONT_SIZE = 1em
|
||||||
|
#let TITLE_FONT_SIZE = 2em
|
||||||
|
|
||||||
|
#let HEADING_LINE_GAP = 3mm
|
||||||
|
#let BODY_LINE_HEIGHT = 0.85em
|
||||||
|
|
||||||
|
// rest = not top
|
||||||
|
#let PAGE_MARGINS = (rest: 0.5in, top: 0.4in)
|
||||||
|
|
||||||
// Format locations.
|
// Format locations.
|
||||||
#let format_location(location) = {
|
#let format_location(location) = {
|
||||||
@@ -27,64 +23,40 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#let indent(content) = {
|
#let indent(content) = {
|
||||||
block(
|
block(inset: (left: 1em, right: 0.5em), content)
|
||||||
inset: (left: 1em, right: 0.5em),
|
|
||||||
content
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// General entry that is split into a left and right half (for experience and education).
|
// General entry that is split into a left and right half (for experience and education).
|
||||||
#let cv_entry(left_content: none, right_content: none, details: none) = {
|
#let cv_entry(left_content: none, right_content: none, details: none) = {
|
||||||
stack(
|
stack(
|
||||||
dir: ttb,
|
dir: ttb,
|
||||||
spacing: 0.75em,
|
spacing: 0.9em,
|
||||||
grid(
|
grid(columns: (11fr, 6fr), column-gutter: 1cm, {
|
||||||
columns: (11fr, 6fr),
|
set strong(delta: DEFAULT_STRONG)
|
||||||
column-gutter: 1cm,
|
|
||||||
{
|
|
||||||
set align(left)
|
set align(left)
|
||||||
left_content
|
left_content
|
||||||
},
|
}, {
|
||||||
{
|
set strong(delta: SMALL_STRONG)
|
||||||
set align(right)
|
set align(right)
|
||||||
right_content
|
right_content
|
||||||
}
|
}),
|
||||||
),
|
{
|
||||||
{
|
set align(left)
|
||||||
set align(left)
|
set strong(delta: SMALL_STRONG)
|
||||||
details
|
details
|
||||||
}
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Entry for education.
|
|
||||||
#let education_entry(university, degree, start_date: none, end_date: none, location: none, details: none) = {
|
|
||||||
let details_list = if details != none {
|
|
||||||
let list = []
|
|
||||||
for detail in details {
|
|
||||||
list += [- #detail]
|
|
||||||
}
|
|
||||||
list
|
|
||||||
} else {
|
|
||||||
none
|
|
||||||
}
|
|
||||||
cv_entry(
|
|
||||||
left_content: {
|
|
||||||
text(1.2em)[*#university*] + "\n" + emph[#degree]
|
|
||||||
},
|
},
|
||||||
right_content: {
|
|
||||||
format_date(start_date: start_date, end_date: end_date)
|
|
||||||
|
|
||||||
if location != none {
|
|
||||||
"\n" + format_location(location)
|
|
||||||
}
|
|
||||||
},
|
|
||||||
details: details_list
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Entry for work.
|
// Entry for work.
|
||||||
#let work_entry(role, company, tasks: none, start_date: none, end_date: none, location: none) = {
|
#let work_entry(
|
||||||
|
role,
|
||||||
|
company,
|
||||||
|
tasks: none,
|
||||||
|
start_date: none,
|
||||||
|
end_date: none,
|
||||||
|
location: none,
|
||||||
|
) = {
|
||||||
let task_list = if tasks != none {
|
let task_list = if tasks != none {
|
||||||
let list = []
|
let list = []
|
||||||
for task in tasks {
|
for task in tasks {
|
||||||
@@ -94,38 +66,43 @@
|
|||||||
} else {
|
} else {
|
||||||
none
|
none
|
||||||
}
|
}
|
||||||
cv_entry(
|
cv_entry(left_content: {
|
||||||
left_content: {
|
set par(leading: 0.75em)
|
||||||
text(1.1em)[*#role*] + "\n" + text[#emph[#company]]
|
text(1.1em)[*#role*]
|
||||||
},
|
"\n"
|
||||||
right_content: {
|
set strong(delta: SMALL_STRONG)
|
||||||
format_date(start_date: start_date, end_date: end_date)
|
text[*#company*]
|
||||||
|
}, right_content: {
|
||||||
|
[*#start_date -- #end_date*]
|
||||||
|
|
||||||
if location != none {
|
if location != none {
|
||||||
"\n" + format_location(location)
|
"\n" + format_location(location)
|
||||||
}
|
}
|
||||||
},
|
}, details: task_list)
|
||||||
details: task_list
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#let project(title, repo_link, tools) = {
|
#let project(title, repo_link, tools) = {
|
||||||
link(repo_link)[#text(1.1em)[*#title* #fa(github)]] + [ | _ #tools _]
|
set strong(delta: DEFAULT_STRONG)
|
||||||
|
if repo_link != none {
|
||||||
|
link(repo_link)[#text(1.1em)[*#title* #fa(github)]] + [ | _ #tools _ ]
|
||||||
|
} else {
|
||||||
|
text(1.1em)[*#title*] + [ | _ #tools _ ]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set name and contact data and format headings
|
// Set name and contact data and format headings
|
||||||
#let template(name, contact_data, color, doc) = {
|
#let template(name, contact_data, color, doc) = {
|
||||||
set page(margin: (rest: 0.5in, top: 0.4in), paper: "us-letter")
|
set page(margin: PAGE_MARGINS, paper: "us-letter")
|
||||||
set list(indent: 1.25em, marker: [•])
|
set list(indent: 1.25em, marker: [•])
|
||||||
set text(font: "Latin Modern Sans", 11pt)
|
set text(font: (BODY_FONT), BODY_FONT_SIZE)
|
||||||
set par(justify: true, leading: 0.65em)
|
set par(justify: true, leading: BODY_LINE_HEIGHT)
|
||||||
align(center)[
|
align(center)[
|
||||||
#text(size: 2em)[*#name*]
|
#text(size: TITLE_FONT_SIZE, font: TITLE_FONT, fill: color)[*#name*]
|
||||||
#block(above: 0em, below: 1em)
|
#block(above: 0em, below: 1em)
|
||||||
#{
|
#{
|
||||||
if contact_data != none and contact_data.len() > 0 {
|
if contact_data != none and contact_data.len() > 0 {
|
||||||
let elements = for el in contact_data {
|
let elements = for el in contact_data {
|
||||||
(link(el.link)[#{el.service + " " + el.display}],)
|
(link(el.link)[#{ el.service + " " + el.display }],)
|
||||||
}
|
}
|
||||||
text(1.1em)[#elements.join(" | ")]
|
text(1.1em)[#elements.join(" | ")]
|
||||||
}
|
}
|
||||||
@@ -133,18 +110,27 @@
|
|||||||
]
|
]
|
||||||
|
|
||||||
show heading.where(level: 1): i => {
|
show heading.where(level: 1): i => {
|
||||||
set align(left)
|
set align(left + horizon)
|
||||||
let title = smallcaps(i.body)
|
let title = smallcaps(i.body)
|
||||||
|
|
||||||
set block(above: 1em)
|
let colored_line(header_text) = style(styles => {
|
||||||
set text(weight: "light", size: 0.9em, fill: color, font: "New Computer Modern")
|
let size = measure(header_text, styles)
|
||||||
stack(
|
|
||||||
dir: ttb,
|
// 100% - spacing - width of text
|
||||||
spacing: 1.5mm,
|
line(
|
||||||
title,
|
length: 100% - HEADING_LINE_GAP - size.width,
|
||||||
line(length: 100%, stroke: color + 0.4pt)
|
stroke: (paint: color, thickness: 2pt, cap: "round"),
|
||||||
|
)
|
||||||
|
})
|
||||||
|
|
||||||
|
set block(above: 0.9em, below: 0.75em)
|
||||||
|
set text(size: 1em, fill: color, font: HEADING_FONT)
|
||||||
|
stack(
|
||||||
|
dir: ltr,
|
||||||
|
spacing: HEADING_LINE_GAP,
|
||||||
|
title,
|
||||||
|
box(height: 2pt, fill: color, colored_line(title)),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
doc
|
doc
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user