Skip to content

vitorbritto/markupify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Markupify Logo

Welcome

Markupify is a simple method to extract some parts of HTML files.

Installation

# 1. Clone this repository
$ git clone git://github.com/vitorbritto/markupify.git

# 2. Place the `markupify.sh` script wherever you want

# 3. Make the script executable
$ chmod u+x path/to/markupify.sh

Usage

$ ./markupify.sh [ options ] <LOCAL_FILE, FILE_URL>

Options:

  -c, --class        output classes
  -i, -id            output ids
  -u, --url          output urls from href

Bonus

If you prefer, put the following alias inside your ~./.bashrc file:

alias mify="bash ~/path/to/script/markupify.sh"

Now, you can simply run:

$ mify [ options ] <LOCAL_FILE, FILE_URL>

License

MIT License © Vitor Britto

About

Extract parts from your HTML file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages