smartypants 0.0.4 copy "smartypants: ^0.0.4" to clipboard
smartypants: ^0.0.4 copied to clipboard

A Dart package that provides text formatting similar to SmartyPants.

Changelog #

0.0.4 - 2026-03-02 #

Features #

  • add benchmark tests for small, large, CJK, and HTML inputs (dba102f)
  • Add CJK support and pass SmartyPantsConfig to the example app. (2101d63)
  • Add CJK typography support (b79bed5)
  • Add CJK typography support with locale-based transformations (fc1dc39)
  • add escaping for literal placeholder characters in SmartyPants processing (a6190f8)
  • add feature request issue template (0a7db45)
  • add granular configuration examples to ExampleCategory (9f2efaa)
  • add granular transformation options to SmartyPantsConfig (43ecbd0)
  • Add HTML tokenizer and export it in the main library (263fb33)
  • add issue template for documentation (682c677)
  • create example flutter project (f21a37b)
  • enhance example interaction by passing configuration to SmartyPants transformations (e695b2b)
  • enhance playground with live formatting, clipboard support, and improved text handling (3e651fb)
  • Implement CommonMark compatibility and robust HTML tokenization (9b6f847)
  • Implement marker strategy for CJK angle brackets to prevent HTML tokenization conflicts (f9cad47)
  • initial commit (cfcd34d)
  • Introduce configurable SmartyPants options, refactor text processing with HTML tokenization, and update smart quote/dash rules. (2c2f857)
  • issue: add issue template for chore/task (01bb677)
  • issues: add bug report issue template (2524926)
  • optimize quote and whitespace handling in SmartyPants transformations (7666949)
  • Overhaul Example App UI with Interactive Playground & Categorized Examples (07eb1e2)
  • overhaul example app with Playground and Examples tabs (94ec031)
  • preserve punctuation context across HTML tags by using placeholders during transformation. (b4943c0)
  • Refactor SmartyPants with configurable options, HTML tokenization, and improved quote/dash handling. (3b6e735)
  • Refactor SmartyPants with configurable options, HTML tokenization, and improved text processing. (d3684d4)

Bug Fixes #

  • dart analyze warnings and lint issues (7d51c51)
  • Adjust indentation for 'Topic' field validations in design discussion issue template. (472f9b1)
  • Correct cursor positioning in SmartypantsFormatter (42ca002)
  • handle empty text in playground_tab when disabling formatter (4095326)
  • handle empty text in playground_tab when disabling formatter (f9221c0)
  • handle invalid selection offsets in SmartypantsFormatter (476c90b)
  • improve closing tag matching in tokenizer to allow whitespace (62dbbd3)
  • prevent bitshift operators and padded text from being converted to CJK citations (0c95e02)
  • prevent corruption of literal private-use characters during CJK angle bracket conversion (4ac233a)
  • Prevent incorrect conversion of non-CJK single angle brackets (509057d)
  • prevent transformation of content in unclosed special HTML tags (101576e)
  • trigger rebuild on text change in playground example (2f716ea)
  • Update tokenizer to correctly handle HTML comments. (4150ca3)

0.0.3 - 2026-02-18 #

Added #

  • CJK typography support with locale-based transformations.
  • SmartyPantsConfig for customization.
  • HTML tokenizer for improved text processing and tag handling.
  • Exported Tokenizer class in the main library.
  • Preserved punctuation context across HTML tags using placeholders.

Changed #

  • Refactored text processing pipeline to support configuration and tokenization.
  • Updated Android package name and application ID to com.eunice_hong.smartypants.
  • Updated iOS bundle identifiers and Linux application ID.

Fixed #

  • Prevent incorrect conversion of non-CJK single angle brackets (including bitshift operators).
  • Prevent corruption of literal private-use characters.
  • Implement marker strategy for CJK angle brackets to prevent HTML tokenization conflicts.
  • Improved closing tag matching in tokenizer to allow whitespace.
  • Adjusted indentation for 'Topic' field validations in issue templates.

0.0.2 - 2024-12-14 #

Added #

  • Initial version.

0.0.1 - 2024-12-13 #

Added #

  • Initial version.
1
likes
160
points
186
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart package that provides text formatting similar to SmartyPants.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

meta

More

Packages that depend on smartypants