Pubray supports a subset of Markdown formatting that matches the formats available in the editor. In addition, it extends original Markdown with a few extra conventions in order to represent formats and settings from the editor that are not part of it.
Supported formats are:
**Text**
, not in title & intro)_Text_
, not in title & intro)[Text](http://some.url)
, not in title)`Text`
, not in title)*T*ext
)# Text
, only on top)##### Text
, only after title)---
)## Text
)### Text
)> Text
)>> Text
)* Text
, no list nesting)1. Text
, no list nesting)```js
etc to specify language)![Text](https://url.jpg)
, optionally followed by a newline and a caption, use [cover, wide]
etc in alt to flag as cover or set size)Here's a complete example with all types of formatting:
# Title
##### Intro (optional)
Paragraph with **bold**, _italics_, [link](https://example.com) and `code`.
---
*A*nd another with a drop cap after a separator.
## Heading
### Subheading
> Block quote
>> Pulled quote
* Bulleted list item 1
* Bulleted list item 2
1. Numbered list item 1
2. Numbered list item 2
```js
const x = "code with JS language"
```
![Image [cover, wide]](https://example.com/image.jpg)
Image caption
[Embed](https://www.youtube.com/...)
Following parts of Markdown are intentionally not supported and will be skipped when parsing with relevant error presented for the author:
Cloud sync allows to efficiently synchronize all your publications with their equivalent Markdown files on Dropbox or GitHub.
You may grab a Markdown copy of an existing publication by choosing Revisions from publication menu, choosing a specific revision and then choosing Export to Markdown from revision menu.
Similarly, you may upload your own Markdown file to fill an existing publication by choosing Revisions from publication menu and choosing Import from Markdown at the top. You'll be taken straight to the editor with the uploaded content ready for further editing or publishing.