z

zheyan

@preview

Util to mask string

v0.1.0
Unlicense

Package Information

Last Updated
Authors
Shylock Hg

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/zheyan:0.1.0

2. Import in your Typst file

Add this to your .typ file:

#import "@preview/zheyan:0.1.0": *

Version History

0.1.0
8d4fd0fcc2c6...

Usage

import "@preview/zheyan:0.1.0": mask-str

#let masked_str =  mask-str(str: "Hello World!")

masked-str will become ************.

To compile with mask:

typst compile --input mask=true main.typ