
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
hexo-renderer-typst
Advanced tools
Typst renderer plugin for Hexo.
Install Hexo dependencies:
npm install @myriaddreamin/typst.ts @myriaddreamin/typst-ts-renderer @myriaddreamin/typst-ts-node-compiler
npm install hexo-renderer-typst
Caution: You must algin the version of all of the above packages.
Currently it is not configurable. Please put your font assets in one of following directory.
fonts
assets/fonts
asset/fonts
The plugin will set the sys.inputs.x-target
to web
. You can configure your template with the variable:
/// The default target is _pdf_.
/// The compiler will set it to _web_ when rendering a dynamic layout.
///
/// Example:
/// ```typc
/// #let is-web-target() = target.starts-with("web")
/// #let is-pdf-target() = target.starts-with("pdf")
/// ```
#let target = sys.inputs.at("x-target", default: "pdf")
#show: it => {
if target.starts-with("web") {
// configure stuff for web
} else {
// configure stuff for pdf
}
it
}
The post with .html.typ
extension will be rendered by the experimental html exporter. The plugin will try to convert the typst template to HTML.
FAQs
Typst renderer plugin for Hexo
The npm package hexo-renderer-typst receives a total of 0 weekly downloads. As such, hexo-renderer-typst popularity was classified as not popular.
We found that hexo-renderer-typst demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.