-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
795 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
web: | ||
awk -v head=' <link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css">' -f awkdown.awk README.md > demo.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<!doctype html><html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css"> | ||
</head> | ||
<body> | ||
<h1>Awkdown</h1> | ||
<p>A Markdown renderer written in Awk.</p> | ||
<h2>Usage</h2> | ||
<pre> | ||
awk -f awkdown.awk README.md | ||
</pre> | ||
<hr /> | ||
<h2>Demo</h2> | ||
<p>Here's an <a href='https://www.mgmarlow.com/'>example link</a>.</p> | ||
<p>How about some <em>italicized text</em>? Maybe you're <strong>feeling bold</strong> instead.</p> | ||
<h1>Header one</h1> | ||
<h2>Header two</h2> | ||
<h3>Header three</h3> | ||
<h4>Header four</h4> | ||
<p>Unordered list:</p> | ||
<ul> | ||
<li>Buy trail mix</li> | ||
<li>Eat trail mix</li> | ||
</ul> | ||
<p>Numbered list:</p> | ||
<ol> | ||
<li>Do one thing</li> | ||
<li>Do another thing</li> | ||
<li>Do the last thing</li> | ||
</ol> | ||
<blockquote> | ||
Deep in the human unconscious is a pervasive need for a logical | ||
universe that makes sense. But the real universe is always one step | ||
beyond logic. - Frank Herbert | ||
</body> | ||
</html> |