File: reverse_markdown.1

package info (click to toggle)
ruby-reverse-markdown 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 400 kB
  • sloc: ruby: 1,331; makefile: 4
file content (38 lines) | stat: -rw-r--r-- 1,035 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.TH "reverse_markdown" "1" "2019-12-17" "" "User Commands"

.SH NAME
reverse_markdown \- transform HTML into Markdown

.SH SYNOPSIS
.B reverse_markdown
.RB [ options ]
.RI [ file ]

.SH DESCRIPTION
.B reverse_markdown
transforms HTML into Markdown. It supports all the established tags and can
be extended to handle new ones too. It can deal with nested lists, inline and
block code and blockquotes.

.SH OPTIONS
The following options are supported.

.TP
.BI "\-u " mode ", \-\-unknown_tags " mode
Define how to handle unknown tags.
.IP
Supported modes are:
\fIpass_through\fR (include unknown tags in result),
\fIdrop\fR (remove tag and its content from output),
\fIbypass\fR (ignore the unknown tag but try to convert its content) and
\fIraise\fR (raise an error).

.TP
.BI "\-g " bool ", \-\-github_flavored " bool
Use GitHub flavoured Markdown. The default is \fIfalse\fR.

.SH AUTHORS
This manual page page was written
by \fBDaniel Leidert\fR <\&daniel.leidert@wgdd.de\&>
for the Debian distribution (but may be used by others).