https://linen.dev logo
#docs
Markdown syntax in Linen
# docs
e

Emil Ajdyna

01/06/2023, 10:13 AM

Markdown syntax in Linen

Headings

To create headings, add a
#
symbol and a space
before your heading text. The number of
#
will define the size of the heading.
Copy code
# h1
## h2
### h3
#### h4
##### h5
###### h6

h1

h2

h3

h4

h5
h6

Text styling

You can style text with bold, italic and strike.
Copy code
Hello, *world*!
Hello, _world_!
Hello, ~world~!
Hello, *_world_*!
Hello, *_~world~_*!
Hello, world! Hello, world! Hello, world! Hello, world! Hello, world!

Code

You can create inline or code blocks. Inline code uses a single backtick character
`
, code blocks use three backtick characters
```
. Code blocks are automatically highlighted, inline code is not.
Copy code
import React from 'react'

export default function Button ({ children }) {
  return <button>{children}</button>
}
const answer = 42

Quote

You can quote text with
>
.
Lorem ipsum dolor sit amet

Links

To make link usage as simple as possible, there are three ways of defining links.
Copy code
Standard:
https://linen.dev
Single word:
https://linen.dev|linen
Multiple words:
[linen website](https://linen.dev)
Standard: https://linen.dev Single word: linen Multiple words: linen website

Images, vidoes and other content

To display images, videos or other content, simply include their url in the message.
https://linen.dev/images/logo/linen.png

https://linen.dev/images/logo/linen.png

Lists

We support unordered and ordered lists.
Copy code
- foo
- bar
- baz
  • foo
  • bar
  • baz
Copy code
1. foo
2. bar
3. baz
  1. foo
  2. bar
  3. baz

Mentions

You can mention someone by specifying their username, e.g.
@kam
. Mentions don't send notifications.

Signals

You can request someones attention by using a signal, e.g.
!kam
. Signals send notifications.
👍 2
a

alexander bondarchuk

07/13/2023, 1:44 PM
What about reactions/emoji?
e

Emil Ajdyna

07/14/2023, 6:39 AM
Hey @alexander bondarchuk, we don't support inline emojis yet in case you're writing messages directly from linen. We've added a story to add emoji support to our message parser here. I'll try to add it soon. We have different parsers for different formats, inline emojis from slack/discord should work already as historically this was one of our first use cases - we started as a google searchable mirror, evolving into a more of a separate chat/forum client itself.
a

alexander bondarchuk

07/14/2023, 7:34 AM
@Emil Ajdyna Thanks! I'm thinking also about reactions to messages. Imagine I like your previous message and want to put thumbs up to it
like here
e

Emil Ajdyna

07/14/2023, 8:33 AM
@alexander bondarchuk we have reactions, but they're not implemented everywhere yet :) our team is small and we're building features as we go. I've added a story for adding reactions in the thread page. If you see anything else missing let us know! Thanks.
1630 Views