calepin 0.0.1

A Rust CLI for preprocessing Typst documents with executable code chunks
{{ syntax_css }}

.sourceCode,
div.sourceCode,
pre.sourceCode {
  background: var(--calepin-syntax-background);
  border: 1px solid var(--calepin-syntax-border);
  border-radius: 4px;
  padding: 0.35rem 0.5rem;
  margin: 0.55rem 0 0.2rem 0;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--calepin-syntax-foreground);
}

.calepin-copy-code {
  appearance: none;
  position: absolute;
  top: 0.2rem;
  right: 0.2rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(31, 41, 51, 0.07);
  color: rgba(31, 41, 51, 0.58);
  box-shadow: none;
  opacity: 0.62;
}

.cell-output {
  position: relative;
  background: #fbfbfa;
  border: 1px solid #ddddda;
  border-radius: 4px;
  padding: 0.3rem 0.5rem;
  padding-right: 1.6rem;
  margin: 0.2rem 0 0.7rem 0;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.86rem;
  line-height: 1.35;
  color: #333;
}