all repos — hastyscribe @ 96364b721635e139a8078acfa69eac4aa08c2813

A professional markdown compiler.

src/hastyscribepkg/consts.nim

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
const 
  stylesheet* = "../../packages/hastystyles/styles/hastyscribe.css".slurp
  hastyscribe_font* = "../../packages/hastystyles/fonts/hastyscribe.woff".slurp 
  fa_solid_font* = "../../packages/hastystyles/fonts/fa-solid-900.woff".slurp
  fa_brands_font* = "../../packages/hastystyles/fonts/fa-brands-400.woff".slurp
  sourcecodepro_font* = "../../packages/hastystyles/fonts/SourceCodePro-Regular.woff".slurp
  sourcecodepro_it_font* = "../../packages/hastystyles/fonts/SourceCodePro-It.woff".slurp
  sourcecodepro_bold_font* = "../../packages/hastystyles/fonts/SourceCodePro-Bold.woff".slurp
  sourcecodepro_boldit_font* = "../../packages/hastystyles/fonts/SourceCodePro-BoldIt.woff".slurp
  sourcesanspro_font* = "../../packages/hastystyles/fonts/SourceSansPro-Regular.ttf.woff".slurp
  sourcesanspro_bold_font* = "../../packages/hastystyles/fonts/SourceSansPro-Bold.ttf.woff".slurp
  sourcesanspro_it_font* = "../../packages/hastystyles/fonts/SourceSansPro-It.ttf.woff".slurp
  sourcesanspro_boldit_font* = "../../packages/hastystyles/fonts/SourceSansPro-BoldIt.ttf.woff".slurp
  watermark_style* = """
#container {
  position: relative;
  z-index: 0;
}
#container:after {
  content: "";
  opacity: 0.1;
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: url($1);
  background-repeat: no-repeat;
  background-position: center 70px;
  background-attachment: fixed;
}
"""