Formatting LBRY comments

It is not immediately obvious, but comments on LBRY videos can be styled just like YouTube videos can be styled (bold, italics, and links).

Styling can make a comment easier to read and easier look to at at a glance (skimming).

Bold and italics

Bold and italics in LBRY comments works similarly to how Markdown works:

An LBRY comment can be styled in *both italics* and **bold**.


An LBRY comment can be styled in both italics and bold.

Bold and italics do work at the same time, but bold is so nondistinct that it is difficult to see the difference. In fact, bold is almost worthless.


Unlike on YouTube, space does not work for indentation (this is like in raw HTML). Instead, use HTML non-breaking space:

     This is *indented* text.


     This is indented text.

For a second indented line to a time stamp in a comment, e.g. after a line with “30:41 : XYZ”, use 12 non-breaking spaces. The number may depend on the font and on the zoom level in the web browser.

Note 1: On 2020-10-24 the formatting of comments with space indent changed (but using ‘nbsp’, as described here, works fine). It now seems to format it as code if there are over a certain number of spaces.

Note 2: LBRY now fights any attempt to use empty lines. It is currently not known how this can be defeated.


Links work in LBRY comments like in Markdown:

Douglas Crockford says *"[No more tabs!]("*.


Douglas Crockford says No more tabs!.

Note that https:// is required. Otherwise, it will not render as a link.

Code formatting

Like in Markdown, backticks (`) works for code formatting. But in contrast to Markdown, <pre></pre> does not work.


In Bash, the environment variable `PS1` controls the prompt.


In Bash, the environment variable PS1 controls the prompt.

Empty lines

Unlike Markdown, a hard newline will result not just in the following text starting on a new line, but an empty line! Thus the Markdown-like source will not look like the output. For example, an empty line in the source will result in two empty lines…


There seems to be a limit of 2,000 characters per comment (much lower than on YouTube). This is quite a severe limit if trying to provide annotated timestamps for a video.

Leave a Reply

Your email address will not be published. Required fields are marked *