Skip to content

Commit f5bca78

Browse files
committed
Merge branch 'main' of github.com:bert-github/gf-markdown-awk
2 parents 595a20a + 443b49b commit f5bca78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ There are several programs that convert markdown ([GitHub-flavored markdown](htt
1616

1717
It's not a program, but a library. (Although it only requires three lines to make it a program, see above). And in particular it is a library for *Awk.* It is meant for people who need to add markdown support to an Awk program.
1818

19-
You could, of course, call an external program from your Awk script to convert markdown to HTML. But this library provides two extra functions that may occasionally be handy and that existing programs don't provide. (At least I haven't found any.) And that is the ability to parse inline markdown only, i.e., bold, italics, links, etc., while ignoring paragraphsm lists, etc.; and the ability to strip markdown from text to retain just the plain text content.
19+
You could, of course, call an external program from your Awk script to convert markdown to HTML. But this library provides two extra functions that may occasionally be handy and that existing programs don't provide. (At least I haven't found any.) And that is the ability to parse inline markdown only, i.e., bold, italics, links, etc., while ignoring paragraphs, lists, etc.; and the ability to strip markdown from text to retain just the plain text content.
2020

2121
The former is provided by the function `markdown::to_inline_html()`, the latter by the function `markdown::to_text()`.
2222

0 commit comments

Comments
 (0)