Skip to content

ChristopherBiscardi/textr-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Textr for Webpack

textr loader for webpack to make typography better through plugins

Use to pre-process on plain text or Markdown.

Check out the possible plugins to get a feel for what you can do.

A possible webpack configuration could be:

module.exports = {
  module: {
    loaders: [{
      test: /\.md$/,
      loaders: ['html', 'markdown', 'textr']
    }]
  },
  textr: [
    require('typographic-ellipses'),
    require('typographic-single-spaces'),
    require('typographic-quotes')
  ]
}

About

webpack textr loader for typographic transformations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published