punctilio 3.8.3 → 3.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -163,7 +163,7 @@ rehypePunctilio({
|
|
|
163
163
|
|
|
164
164
|
## Notes
|
|
165
165
|
|
|
166
|
-
- Fully general prime mark conversion (e.g.
|
|
166
|
+
- Fully general prime mark conversion (e.g. <span class="no-formatting">5'10" → 5′10″</span>) requires semantic understanding to distinguish from closing quotes (e.g. `"Term 1"` should produce closing quotes). `punctilio` tracks quote balance to heuristically determine whether a quote after a number is a closing quote or a prime mark. Other libraries like `tipograph` 0.7.4 use simpler patterns that make more mistakes.
|
|
167
167
|
- The `american` style follows the [Chicago Manual of Style](https://www.chicagomanualofstyle.org/):
|
|
168
168
|
- Periods and commas go inside quotation marks (“Hello,” she said.)
|
|
169
169
|
- Unspaced em-dashes between words (word—word)
|