html2org

command
v0.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2021 License: MIT Imports: 11 Imported by: 0

README

* html2org (cli)

** Install
#+begin_src sh
go get -u github.com/satotake/html2org/cmd/html2org
#+end_src

*** from source
#+begin_src sh
git clone git@github.com:satotake/html2org.git
cd html2org/cmd/html2org/
go install  # or go build
#+end_src

** Usage
#+begin_src
html2org <flags>

  -i string
    input file path (default stdin)
  -o string
    output file path (default stdout)
  -u string
    set BaseURL
  -t
    enable PrettyTables option
  -v
    show version
  -c
    sniff content and throw error if it is guessed as non-html
  -noscript
    show content inside noscript tag
  -l
    show internal link destinations if the link exists.
  -image-data-url
    show all data url in img tags
  -h
    show usage
#+end_src

** Example
#+begin_src sh
html2org -i site/index.html -o docs/index.org
#+end_src

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL