Skip to content

Commit

Permalink
Add HTML rendering for margin notes and print instructions for CV
Browse files Browse the repository at this point in the history
  • Loading branch information
matttrent committed Nov 2, 2024
1 parent 574a12a commit 6f3efa5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MarginNote.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ const { text } = Astro.props;

<label for="mn-{name}" class="margin-toggle">&#8853;</label>
<input type="checkbox" id="mn-{name}" class="margin-toggle"/>
<span class="marginnote">{text}</span>
<span class="marginnote" set:html={text}></span>
6 changes: 6 additions & 0 deletions src/pages/cv.astro
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,12 @@ const talksAndMisc = [
+1.415.326.3226
</p>

<section class="print-hide">
<p style="font-weight: bold;">
Need a PDF? Just print me and save. I format correctly.
</p>
</section>

<section>
<h2>Professional experience</h2>
<CVList items={professionalExperience} />
Expand Down

0 comments on commit 6f3efa5

Please sign in to comment.