pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/rumdl



Module Name:    pkgsrc
Committed By:   pin
Date:           Sat Jan 17 20:59:28 UTC 2026

Modified Files:
        pkgsrc/textproc/rumdl: Makefile distinfo

Log Message:
textproc/rumdl: update to 0.0.220

## [0.0.220] - 2026-01-17

### Added

- **`RUMDL_OUTPUT_FORMAT` environment variable** ([#297](https://github.com/rvben/rumdl/issues/297))
  - Override output format in CI/CD without modifying config files
  - Precedence: CLI flag → env var → config → default
  - Example: `RUMDL_OUTPUT_FORMAT=github rumdl check .`

### Fixed

- **MD050: Skip math blocks to avoid false positives in Quarto**
  - LaTeX subscripts (`x_1`) and exponentiation (`a**b`) were incorrectly flagged as strong emphasis
  - Now correctly skips content inside `$$...$$` math blocks

### Changed

- **Documentation: Clarify CommonMark 0.31.2 spec version** ([#298](https://github.com/rvben/rumdl/issues/298))
  - Explicitly document that rumdl uses CommonMark 0.31.2 via pulldown-cmark
  - Clarify that `standard` flavor includes GFM extensions (tables, task lists, strikethrough, autolinks)
  - Document `commonmark` as alias for `standard`, `github` as alias for `gfm`
  - Add `output-format` setting documentation with all 12 available formats

## [0.0.219] - 2026-01-17

### Added

- **Comprehensive markdown flavor support**
  - **GFM flavor**: Security-sensitive HTML tag detection in MD033, extended autolinks including `xmpp:` protocol in MD034
  - **MkDocs flavor**: mkdocstrings block support, extended markdown syntax (keys `[[Ctrl]]`, caret `^^sup^^`, mark `==highlight==`, ins `++inserted++`, tilde `~sub~`)
  - **MDX flavor**: JSX attribute detection (`className`, `htmlFor`, `onClick`, etc.), JSX expression handling, ESM import/export support
  - **Quarto flavor**: Pandoc citation syntax (`@ref`, `[@ref]`), shortcode detection (`{{< >}}`), div blocks and callouts (`::: {.callout-*}`), math block handling for emphasis rules

- **Comprehensive UTF-8 stress tests**
  - Systematic testing of all rules against 11 scripts (Bengali, Arabic, Chinese, Japanese, Korean, Thai, Hindi, Russian, Greek, Emoji, ZWJ sequences)
  - Tests for check(), fix(), and fix range character boundaries
  - Catches UTF-8 panics before they reach production

### Fixed

- **MD034: UTF-8 panic with multi-byte text before emails**
  - Fixed crash when email follows Bengali, Chinese, Arabic, or other multi-byte UTF-8 text
  - The `xmpp:` prefix check was slicing at invalid character boundaries
  - Discovered during testing against kubernetes/website

- **MD031: Blank line detection after MkDocs admonition blocks**
  - Corrected blank line requirements after admonition content

- **MkDocs: Nested admonition handling**
  - Implemented stack-based detection for properly nested admonitions

### Changed

- **Documentation: Split flavor docs into separate files**
  - `docs/flavors.md` is now a concise overview with links
  - Each flavor has its own file: `docs/flavors/standard.md`, `gfm.md`, `mkdocs.md`, `mdx.md`, `quarto.md`
  - Easier to find, reference, and maintain flavor-specific documentation

## [0.0.218] - 2026-01-15

### Added

- **Style Guide Preset examples**
  - Google Markdown style guide config (`examples/google-style.toml`)
  - Prettier-compatible markdown config (`examples/prettier-style.toml`)

### Fixed

- **MD032: Eliminate false positives on real-world repos**
  - Tested against Rust Book (478 files) and MDN Content (14,100 files) with zero false positives
  - Treat HTML comments as transparent for blank line checks
  - Skip blank line warning when exiting blockquotes (boundary provides separation)
  - Handle prose numbered items like "Chapter 19." (sentence continuation detection)
  - Fix lazy continuation for code span continuations and nested sublists
  - Remove incorrect uppercase heuristic that was closing lists prematurely

- **Config: Correct rule alias mappings**
  - Add `descriptive-link-text` alias for MD059
  - Fix `table-cell-alignment` alias to map to MD060 (was incorrectly MD059)

- **Config: Warn on per-file-ignores patterns with commas**
  - Detects when patterns contain commas without braces
  - Suggests correct glob syntax: `{*.md,*.txt}` instead of `*.md,*.txt`


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/rumdl/Makefile \
    pkgsrc/textproc/rumdl/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/rumdl/Makefile
diff -u pkgsrc/textproc/rumdl/Makefile:1.1 pkgsrc/textproc/rumdl/Makefile:1.2
--- pkgsrc/textproc/rumdl/Makefile:1.1  Thu Jan 15 13:26:02 2026
+++ pkgsrc/textproc/rumdl/Makefile      Sat Jan 17 20:59:28 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2026/01/15 13:26:02 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2026/01/17 20:59:28 pin Exp $
 
-DISTNAME=      rumdl-0.0.217
+DISTNAME=      rumdl-0.0.220
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=rvben/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
Index: pkgsrc/textproc/rumdl/distinfo
diff -u pkgsrc/textproc/rumdl/distinfo:1.1 pkgsrc/textproc/rumdl/distinfo:1.2
--- pkgsrc/textproc/rumdl/distinfo:1.1  Thu Jan 15 13:26:02 2026
+++ pkgsrc/textproc/rumdl/distinfo      Sat Jan 17 20:59:28 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2026/01/15 13:26:02 wiz Exp $
+$NetBSD: distinfo,v 1.2 2026/01/17 20:59:28 pin Exp $
 
 BLAKE2s (adler2-2.0.1.crate) = 4d391e0fcde91c7435ee9a5503fee4a5346f549f1b45e482ce3e1e151d90f8f5
 SHA512 (adler2-2.0.1.crate) = 555b2b7ba6f8116acccd0bcd16ed34cc78162c81023cff31a8566ffcd456c03832089fca2d5b668ceaac4fe8f922d31aa9c487f226a36cace294ff4a219bd91d
@@ -639,9 +639,9 @@ Size (reqwest-0.12.24.crate) = 159974 by
 BLAKE2s (ring-0.17.14.crate) = 1480ea4de12099a897e831682ebaf48ed6e688e06f58e79e496a06e227ed58bd
 SHA512 (ring-0.17.14.crate) = 88d38205dc1a1f89bd4ae887ec5c168e68a4b749b3ac0612674092331e99d14a9b8d0f4a98d72c1a3853bcc9da420402336da3ee053bedcfd598da8de93afa14
 Size (ring-0.17.14.crate) = 1502610 bytes
-BLAKE2s (rumdl-0.0.217.tar.gz) = b1da323d648de238273ef10ab72e4726711b872389327ea41869890843b91bee
-SHA512 (rumdl-0.0.217.tar.gz) = 2915e6b9c07b60aa066bdfb7db3484be39668fb2072b6dd6bafbf67c3f35a0b0aaf954f23d9ee4615c6feacfec6af930119b3464023999965f8f376711703495
-Size (rumdl-0.0.217.tar.gz) = 1588522 bytes
+BLAKE2s (rumdl-0.0.220.tar.gz) = cb3b41511031c874ec28e09a4ce41902a527135c111a0bdcec8d8e9e99460018
+SHA512 (rumdl-0.0.220.tar.gz) = 90f5fd621c4fc4efe4424e6b5562030bb731da29fc703f6236c1b015286302907909a604cc21ce274c8d0d27283cc3ce4dbf3c725dfd047b571392f0271de2f6
+Size (rumdl-0.0.220.tar.gz) = 1650876 bytes
 BLAKE2s (rustc_version-0.4.1.crate) = f0d198d0457135ca7572b41cd2440f1b0ca075013f53b384d07c00db8c5d2e84
 SHA512 (rustc_version-0.4.1.crate) = 7aa8a487ca7411b6d23cae62f7568fa3474a7b1fd1589621071be3428a550ed3b7c4ad68277a8f86849e5900397d7d0e9d678f5d423742a045dc7c660fa6c598
 Size (rustc_version-0.4.1.crate) = 12245 bytes



Home | Main Index | Thread Index | Old Index