Posts tagged

iA Writer Markup /

I’m using iA Writer to write with Markdown formatting. It’s an effective app and a pleasant way to write (compared to, say, Microsoft Word or straight HTML). The files are portable because they are plain text, but that also leads to a shortcoming: apps handle Markdown differently.

This page just tests the limits of iA Writer’s output, a kind of acid test. The markup also ends up being a test of this website’s styling of all the different HTML elements.

The HTML that I exported is immediately below and the original MultiMarkdown source from iA Writer is further below for reference. I sent the whole thing to the website by an iOS Shortcut.

See also the MultiMarkdown Syntax Guide and iA Writer’s own Markdown Guide.


Heading 2

Heading 3

Heading 4

Heading 5
Heading 6
Placeholder image
Placeholder image

Paragraph with important text, emphasized text, and super important text (BETTER THAN ALL CAPS!). There is a strikethrough, code, a link, of course, and an inline image in a link with a footnote: inline placeholder image1.

  1. Ordered list item
    • Nested, bulleted list item
    • Task list item (click to check off in iA Writer!)
  2. Ordered, completed task list item

The rare definition list:

definition2
a statement of the exact meaning of a word, especially in a dictionary
the degree of distinctness in outline of an object, image, or sound

A block quote (with a citation reference):

Someday we’ll find it, the rainbow connection, the lovers, the dreamers, and me, … la da da dee da da doo, la la da da da dee da doo.

—Kermit the Frog[3]

And a code block:

alert( "Hello, World!" );

Markdown supports tables but they are messy. iA Writer handily includes a CSV file as a simple table:

Header Row Column 2 Column 3
Row 1 Data is nice
Row 2 So make it look good

Markdown is meant to format simple writing in a way that is readable to both human and computer. It is not meant for more complex formatting. When all else fails, use raw HTML. This snippet has embedded Markdown (be sure your quotes are straight!):


## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6

![Placeholder image](https://via.placeholder.com/160/999/999)

Paragraph with **important text**, *emphasized text*, and ***super important text*** (BETTER THAN ALL CAPS!). There is ~~a strikethrough~~, `code`, [a link, of course](https://ia.net/writer), and an inline image in a link with a footnote: [![inline placeholder image](https://via.placeholder.com/24/999/999)](https://music.apple.com/us/album/the-muppet-movie-original-motion-picture-soundtrack/1440805864)[^Media courtesy of Apple Music. Use their service and maybe they won’t hold it against me.].

1. Ordered list item
    - Nested, bulleted list item
    - [ ] Task list item (click to check off in iA Writer!)
2. [x] Ordered, completed task list item

The rare definition list:

definition[^_Oxford Dictionary of English_]
: a statement of the exact meaning of a word, especially in a dictionary
: the degree of distinctness in outline of an object, image, or sound

A block quote (with a citation reference):

> Someday we’ll find it, the rainbow connection, the lovers, the   dreamers, and me, … la da da dee da da doo, la la da da da dee da doo.
> 
> —Kermit the Frog[#book]

And a code block:

``` javascript
alert( "Hello, World!" );
```

+ + +

Markdown supports tables but they are messy. iA Writer handily includes a CSV file as a simple table:

/_/Table.csv

Markdown is meant to format simple writing in a way that is readable to both human and computer. It is not meant for more complex formatting. When all else fails, use raw HTML. This snippet has embedded Markdown (be sure your quotes are straight!):

<audio controls src="https://audio-ssl.itunes.apple.com/apple-assets-us-std-000001/AudioPreview118/v4/51/77/6c/51776c55-224f-a10a-74a6-7eb004e94f84/mzaf_6308902825983025033.plus.aac.p.m4a">*Your browser does not support HTML5.*</audio>

* * *

Some notes:

  • There are a few things not tested here that iA Writer is capable of handling: Setext-style header, Table of Contents ({{TOC}}), Markdown table (or table caption), or Math (TeX).
  • iA Writer wraps a block image (one that is on its own line) as a <figure> element with the optional text as a <figcaption>. This is preferred. (Inline images are just the <img> with the optional text set as its alt attribute.)
  • iA Writer doesn’t distinguish between *emphasis* and _citation_, rendering both as <em> instead of <i> or <cite> (I’m not aware of any Markdown editor that does differentiate them, but they are semantically distinct).
  • iA Writer doesn’t recognize ::highlight:: (HTML: <mark>). It doesn’t claim to but it would be nice.
  • iA Writer has it’s own file transclusion syntax, beginning a new line with / followed by the relative path to an image or text document to include (also works with an absolute URL on it’s own line). Much neater than MultiMarkdown spec. The table above is included this way.

iA Writer’s implementation of Markdown is the best in my opinion, compared to other apps and tests, even MultiMarkdown Composer.

It’s a good idea to export directly from iA Writer to HTML or Microsoft Word rather than let another tool convert it such as the Markdown module in the WordPress Jetpack plugin (which uses Markdown Extra). Pandoc comes very close.


  1. Media courtesy of Apple Music. Use their service and maybe they won’t hold it against me. ↩︎

  2. Oxford Dictionary of English ↩︎

  3. Jim Henson, It’s Not Easy Being Green: And Other Things to Consider. (This quote may or may not be contained in this book.)

Chaturaji: Four Player Chess from India /

Check out chaturaji (“four kings”), an ancient four player chess-like game from India (there is also a two-play Indian strategy game related to chess called chaturanga).

Play

Chaturaji starting position: four armies distinguished by color.
Chaturaji starting position: four armies distinguished by color.

Each player has four pieces on the back rank: king, elephant, horse and boat, with four pawns in front of them on the second rank. The king moves like the chess king, the elephant like the chess rook and the horse like the chess knight. The boat moves like the chess bishop but is restricted to two squares diagonally, jumping over the intervening square. The pawn also moves as in chess (with no option of an initial double-step move). Also, the pawn’s promotion rules are different; a pawn promotes to the piece that starts on the same file (or rank) of the promotion square (king included) and only after that piece has been captured.

Goal

The goal of the game is to collect as many points as possible. Points are scored by capturing opponents’ pieces (pawn: 1, boat: 2, knight: 3, elephant: 4, king: 5). The king can be captured like any other piece.

Intrigue

  • Each of the four players’ pawns moves and captures in a different direction along the board.
  • When a boat completes a 2×2 square of boats, it captures the other three boats, a boat triumph.
  • The sum of points of three armies (54) is awarded to a player who captures all three opponents’ kings while keeping his own.
  • Players can ally.
  • In original play, two pieces could be moved in a turn and were determined by the roll of two dice.
  • Western chess board and pieces can be used to play Chaturaji.

From “Chaturaji,” Wikipedia.

“The Character of Genuine Saving Faith” by John MacArthur /

Test yourselves to see if you are in the faith; examine yourselves! Or do you not recognize this about yourselves, that Jesus Christ is in you — unless indeed you fail the test? (2 Cor. 13:5)

  1. Evidences That Neither Prove Nor Disprove One’s Faith
    1. Visible Morality: Matt. 19:16–21; 23:27
    2. Intellectual Knowledge: Rom. 1:21; 2:17ff
    3. Religious Involvement: Matt. 25:1–10
    4. Active Ministry: Matt. 7:21–24
    5. Conviction of Sin: Acts 24:25
    6. Assurance: Matt. 23
    7. Time of Decision: Luke 8:13, 14
  2. The Fruit/Proof of Authentic/True Christianity
    1. Love for God: Ps. 42:1ff; 73:25; Luke 10:27; Rom. 8:7
    2. Repentance from Sin: Ps. 32:5; Prov. 28:13; Rom. 7:14ff; 2 Cor. 7:10; 1 John 1:8–10
    3. Genuine Humility: Ps. 51:17; Matt. 5:1–12; Jas. 4:6, 9ff
    4. Devotion to God’s Glory: Ps. 105:3; 115:1; Isa. 43:7; 48:10ff; Jer. 9:23, 24; 1 Cor. 10:31
    5. Continual Prayer: Luke 18:1; Eph. 6:18ff; Phil. 4:6ff; 1 Tim. 2:1–4; Jas. 5:16–18
    6. Selfless Love: 1 John 2:9ff; 3:14; 4:7ff
    7. Separation from the World: 1 Cor. 2:12; Jas. 4:4ff.; 1 John 2:15–17; 5:5
    8. Spiritual Growth: Luke 8:15; John 15:1–6; Eph. 4:12–16
    9. Obedient Living: Matt. 7:21; John 15:14ff; Rom. 16:26; 1 Pet. 1:2, 22; 1 John 2:3–5
    10. Hunger for God’s Word: 1 Pet. 2:1–3
    11. Transformation of Life: 2 Cor. 5:17

If List 1 is true of a person and List 2 is false, there is cause to question the validity of one’s profession of faith. Yet if List 2 is true, then the top list will be also.

The Conduct of the Gospel

  1. Proclaim it: Matt. 4:23
  2. Defend it: Jude 3
  3. Demonstrate it: Phil. 1:27
  4. Share it: Phil. 1:5
  5. Suffer for it: 2 Tim. 1:8
  6. Don’t hinder it: 1 Cor. 9:12
  7. Be not ashamed: Rom. 1:16
  8. Preach it: 1 Cor. 9:16
  9. Be empowered: 1 Thess. 1:5
  10. Guard it: Gal. 1:6–8

Excerpted from The MacArthur Study Bible, NASB, p. 1999.

Nepali Dictionaries Online /

Two of the most useful and recommended Nepali dictionaries in print are also available online:

The first dictionary (Schmidt) is up-to-date and offers words in context, variants and romanized transliteration. The second (Turner) is much older but helpful for understanding difficult words.