Comments (5)
Making this support usage from the command line would be straightforward. It would involve extra conditionals to accept arguments passed via the command line, but installation and usage would look something like this:
npm install -g typeset
typeset index-in.html index-out.html
I'd be happy to review a pull request if you'd like to make these modifications yourself – otherwise I'll add it to the list of things to do!
from typeset.
Some recommendations to make the command line tool UNIX-friendly
- use
typeset-js
or something similar astypeset
is reserved in Bash - support
-
option for stdin - by default output to stdout
I don't have much experience with node, but that might be a fun learning experience.
from typeset.
Thanks @faheempatel for your pull request. I'll keep this issue open until I work out how to change the tool's name from typeset
, since it's reserved.
from typeset.
I'd also like it accept input via stdin. Will investigate
from typeset.
No worries, thanks for making it :)
You can change the name of the tool by changing the key here: https://github.com/davidmerfield/Typeset/blob/master/package.json#L7
from typeset.
Related Issues (20)
- Assorted quote substitution bugs
- Spans inside link tags seem to affect underlines
- Screen readers cannot read output HOT 5
- Hanging punctuation before smallcaps HOT 2
- Recommendation against use of for...in for array iteration.
- Hanging punctuation inside em inside a
- add readme instruction on using it in browser HOT 1
- add .pull-T etc will mess up kerning
- numbers shouldn't be added small-caps class
- Usage with webpack? HOT 1
- Custom class names
- Interferes with Mathjax / LaTeX
- Abbreviations?
- Mid-paragraph push/pull spans not working HOT 3
- hanging punctuation for right-aligned blocks? HOT 1
- Cheerio is a dev dependency, should be dependency HOT 1
- HTML Entities are turned into actual characters HOT 1
- Request: Widow control (widont)
- Typeset removing closing slash on void (singleton) elements HOT 4
- En-dash for number ranges HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typeset.