Why Nostr? What is Njump?
2023-01-26 06:38:53
in reply to

ezofox on Nostr: Markdown is a simple language where you can type something in plaintext but add ...

Markdown is a simple language where you can type something in plaintext but add formatting. Like making a a word bold, italic, adding a hyperlink to a word, adding headings, quotes, formatting code that someone can copy and paste, add an image with caption and alternate text, create a tabular grid with textual data, add unordered list (bullet points) and ordered list (numberical points).. etc

For example:

- Adding a headings are usually added by typing the following `# Heading 1` for main content/title, `# Heading 2` for sub-title under heading 1, `# Heading 3` for sub-sub title under heading 2. This should output as:

# Heading 1
## Heading 2
### Heading 3

- Making a text bold add two asterisk begnning and end of text `**This is a bold text**` or two underscores beggining and end of text `__This is also bold__` should output as:

**This is a bold text**

__This is also bold__

- Italic text is with one asterisk or underscrore beginning and end of the text `*This is in italics*`

*This is in italics*

- Adding a hyperlink to a text `[click me](http://google.com)` should output as:

[click me](http://google.com)

- Block of code to retain syntax and display to copy/paste. You add ``` before and after the code:

```
let message = 'Hello world';
alert(message);
```

Now since Nostr clients are in their initial development phases, they may or may not support markdown at all or may support some of it and some of it may break. Ideally I think clients should support it.
Author Public Key
npub16jzr7npgp2a684pasnkhjf9j2e7hc9n0teefskulqmf42cqmt4uqwszk52