# posthtml-textr **Repository Path**: mirrors_posthtml/posthtml-textr ## Basic Information - **Project Name**: posthtml-textr - **Description**: Textr for PostHTML - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-25 - **Last Updated**: 2025-09-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # PostHTML-Textr [![npm version](https://badge.fury.io/js/posthtml-textr.svg)](http://badge.fury.io/js/posthtml-textr) [PostHTML](http://github.com/posthtml/posthtml) plugin wrapper over [Textr](http://a.github.io/textr) modular typographic framework ## Usage ```js var posthtml = require('posthtml'), html = '

Hello "world"...\n

foo...bar

'; posthtml() .use(require('posthtml-textr')( { locale: 'ru'}, [ require('typographic-ellipses'), require('typographic-single-spaces'), require('typographic-quotes') ] )) .process(html) .then(function(result) { console.log(result.html); //

Hello «world»…

foo…bar

}) ```