yw2md

Markdown converter for yWriter projects

This project is maintained by peter88213

Project homepage


The yw2md Python script converts yWriter 7 projects to Markdown and creates new yWriter 7 projects from Markdown formatted text documents.

Usage

Intended usage

The included installation script prompts you to create a shortcut on the desktop.

Operation

Open a yWriter project

Convert

Start file conversion by clicking on the Run (Alt-R) menu entry. The result will be indicated.

Reverse direction

You can reverse the conversion direction by clicking on the Swap (Alt-S) menu entry. The project name is the same, but the target file type changes.

Close the ywriter project

Exit

Options

Comments at the beginning of the scene are scene titles

When checked:

When unchecked:

The scenes in the yWriter project are Markdown formatted

When checked:

When unchecked:

Markdown reference

By default, yw2md converts a Markdown subset according to the following specificatiions:

Paragraphs

Paragraphs in Markdown are separated by a blank line. Single blank lines in yWriter scenes are Markdown-encoded by three blank lines.

Headings

Level 1 heading used for parts (chapters marked as beginning of a new section in yWriter)

# One hash character at the start of the line

Level 2 heading used for chapters

## Two hash characters at the start of the line

Emphasis

Italic

*single asterisks*

Note : A * surrounded with spaces will be treated as a literal asterisk.

Bold

**double asterisks**

Comments

<!---A HTML comment with one additional hyphen--->