diff --git a/cv.typ b/cv.typ
index a17b353..227584a 100644
--- a/cv.typ
+++ b/cv.typ
@@ -1,6 +1,8 @@
 #import "lib.typ": *
 
 #let cv(contents, use_sidebar: false) = {
+  show: style
+  show: smartypants
   set text(lang: lang)
 
   let date_formatting = {
diff --git a/lib.typ b/lib.typ
index 51862d7..09b33e1 100644
--- a/lib.typ
+++ b/lib.typ
@@ -1,10 +1,19 @@
-#show heading: set text(font: "New Computer Modern")
-#show link: underline
 
-// smartypants and latex compatibility
-#show "--": [#sym.dash.en]
-#show "---": [#sym.dash.em]
-#show "\&": [#sym.amp]
+// set some styles
+#let style(it) = {
+  show heading: set text(font: "New Computer Modern")
+  show link: underline
+  it
+}
+
+// transform md-similes to actual symbols
+#let smartypants(it) = {
+  // smartypants and latex compatibility
+  show "--": [#sym.dash.en]
+  show "---": [#sym.dash.em]
+  show "\&": [#sym.amp]
+  it
+}
 
 // Choose the compiled language through cli by doing
 //
diff --git a/resume.typ b/resume.typ
index 489d044..789e029 100644
--- a/resume.typ
+++ b/resume.typ
@@ -34,6 +34,8 @@
 }
 
 #let resume(contents, main: ("experience", "education"), sidebar: ("volunteering", "languages", "skills")) = {
+  show: style
+  show: smartypants
   set text(lang: lang)
 
   let date_formatting = {