inv-cmarker:0.1.0#5150
Conversation
b6c6aed to
bf48b34
Compare
bf48b34 to
709b289
Compare
709b289 to
2fad1ef
Compare
| @@ -0,0 +1,10 @@ | |||
| [package] | |||
| name = "to-commonmark" | |||
There was a problem hiding this comment.
This name and the initially submitted name are not ideal. The original shouldn't really have to contain the word Typst and this one is a little too descriptive. We try to avoid canonical names so multiple packages serving the same purpose can coexist without one having an unfair advantage. Could you change the name to something else, for example by adding a non-descriptive prefix or suffix, or ideally by coming up with something a little more creative? See our naming rules
There was a problem hiding this comment.
Thanks for your feedback. My new proposal is inv-cmarker.
| entrypoint = "lib.typ" | ||
| authors = ["Christian Kögler"] | ||
| license = "MIT" | ||
| description = "Convert content to CommonMark strings." |
There was a problem hiding this comment.
I see you've changed the description, probably because of the warning. But because this is a somewhat of a meta usecase, I would say it's ok to specifically say Typst content, which makes things a bit clearer.
See: https://github.com/typst/packages/blob/main/docs/manifest.md#writing-a-good-description
There was a problem hiding this comment.
The typst-package-check fails, when I add Typst to description.
2fad1ef to
2daa0b8
Compare
I am submitting
Description:
to-commonmarkconverts Typst content to CommonMark strings, written entirely in Typst script with no external tooling required. It provides a singleto-commonmark(content) -> strfunction that performs a recursive walk over Typst's content tree, supporting headings, paragraphs, lists (unordered and ordered), block quotes, code blocks (with language info strings), inline code, strong/emphasis, links, images, and line breaks. Unsupported elements (tables, math, figures, footnotes) emit HTML drop comments rather than failing silently.This is useful for:
The package is written in pure Typst script with zero dependencies, making it portable and easy to integrate.
I have read and followed the submission guidelines and, in particular, I
typst-to-commonmark. We use2as a shorthand convention common in package ecosystems (similar tojson2yaml,png2svg,csv2json), making it a stylistic neologism rather than the most obvious English phrasing.typst.tomlfile with all required keysREADME.mdwith documentation for my packageLICENSEfile or linked one in myREADME.mdexcluded PDFs or README images, if any, but not the LICENSE