Skip to main content
added 96 characters in body
Source Link
rene
  • 91.1k
  • 17
  • 241
  • 511

For reference: CommonMark specification for Lists

These are not really bugs (YMMV), just quirks how not properly used Markdown content gets treated differently by the two implementations. If an edit can fix it, prefer that route.

These are not really bugs (YMMV), just quirks how not properly used Markdown content gets treated differently by the two implementations. If an edit can fix it, prefer that route.

For reference: CommonMark specification for Lists

These are not really bugs (YMMV), just quirks how not properly used Markdown content gets treated differently by the two implementations. If an edit can fix it, prefer that route.

Active reading [<https://en.wikipedia.org/wiki/Markdown> <https://en.wiktionary.org/wiki/server-side#Adjective>].
Source Link

The MarkDownMarkdown is messed up so the HTML result gets messed up as well. At least the Serversideserver-side renderer does a better job at recovering.

These are not really bugs (YMMVYMMV), just quirks how not properly used markdownMarkdown content gets treated differently by the two implementations. If an edit can fix it, prefer that route.

Original markdownMarkdown content

Open the private channel, then:

 - on **web** client:
- look at the **URL** in your browser:
- `if` it's for example https://web.telegram.org/#/im?p=c1192292378_2674311763110923980
- `then` **1192292378** is the channel ID

 - on **mobile** and **desktop**:
- copy the **link** of *any* message of the channel:
- `if` it's for example https://t.me/c/1192292378/31
- `then` **1192292378** is the channel ID (bonus: **31** is the message ID)

 - on **Plus Messenger** [for Android][1]:
- open the **infos** of the channel:
- the channel ID appears **above**, right under its name

----------

`WARNING` be sure to **add -100 prefix** when using Telegram Bot API:

 - `if` the channel ID is for example 1192292378
 - `then` you should use **-1001192292378**
 

  [1]: https://play.google.com/store/apps/details?id=org.telegram.plus&hl=en

The MarkDown is messed up so the HTML result gets messed up as well. At least the Serverside renderer does a better job at recovering.

These are not really bugs (YMMV), just quirks how not properly used markdown gets treated differently by the two implementations. If an edit can fix it, prefer that route.

Original markdown

Open the private channel, then:

 - on **web** client:
- look at the **URL** in your browser:
- `if` it's for example https://web.telegram.org/#/im?p=c1192292378_2674311763110923980
- `then` **1192292378** is the channel ID

 - on **mobile** and **desktop**:
- copy the **link** of *any* message of the channel:
- `if` it's for example https://t.me/c/1192292378/31
- `then` **1192292378** is the channel ID (bonus: **31** is the message ID)

 - on **Plus Messenger** [for Android][1]:
- open the **infos** of the channel:
- the channel ID appears **above**, right under its name

----------

`WARNING` be sure to **add -100 prefix** when using Telegram Bot API:

 - `if` the channel ID is for example 1192292378
 - `then` you should use **-1001192292378**
 

  [1]: https://play.google.com/store/apps/details?id=org.telegram.plus&hl=en

The Markdown is messed up so the HTML result gets messed up as well. At least the server-side renderer does a better job at recovering.

These are not really bugs (YMMV), just quirks how not properly used Markdown content gets treated differently by the two implementations. If an edit can fix it, prefer that route.

Original Markdown content

Open the private channel, then:

 - on **web** client:
- look at the **URL** in your browser:
- `if` it's for example https://web.telegram.org/#/im?p=c1192292378_2674311763110923980
- `then` **1192292378** is the channel ID

 - on **mobile** and **desktop**:
- copy the **link** of *any* message of the channel:
- `if` it's for example https://t.me/c/1192292378/31
- `then` **1192292378** is the channel ID (bonus: **31** is the message ID)

 - on **Plus Messenger** [for Android][1]:
- open the **infos** of the channel:
- the channel ID appears **above**, right under its name

----------

`WARNING` be sure to **add -100 prefix** when using Telegram Bot API:

 - `if` the channel ID is for example 1192292378
 - `then` you should use **-1001192292378**


Source Link
rene
  • 91.1k
  • 17
  • 241
  • 511

The MarkDown is messed up so the HTML result gets messed up as well. At least the Serverside renderer does a better job at recovering.

Fix it by editing the list: remove the leading space and give the following lines two spaces. Now the client-side preview and server-side render show the same.

These are not really bugs (YMMV), just quirks how not properly used markdown gets treated differently by the two implementations. If an edit can fix it, prefer that route.


final result


Open the private channel, then:


WARNING be sure to add -100 prefix when using Telegram Bot API:

  • if the channel ID is for example 1192292378
  • then you should use -1001192292378

Original markdown

Open the private channel, then:

 - on **web** client:
- look at the **URL** in your browser:
- `if` it's for example https://web.telegram.org/#/im?p=c1192292378_2674311763110923980
- `then` **1192292378** is the channel ID

 - on **mobile** and **desktop**:
- copy the **link** of *any* message of the channel:
- `if` it's for example https://t.me/c/1192292378/31
- `then` **1192292378** is the channel ID (bonus: **31** is the message ID)

 - on **Plus Messenger** [for Android][1]:
- open the **infos** of the channel:
- the channel ID appears **above**, right under its name

----------

`WARNING` be sure to **add -100 prefix** when using Telegram Bot API:

 - `if` the channel ID is for example 1192292378
 - `then` you should use **-1001192292378**


  [1]: https://play.google.com/store/apps/details?id=org.telegram.plus&hl=en

Original Result

Open the private channel, then:


WARNING be sure to add -100 prefix when using Telegram Bot API:

  • if the channel ID is for example 1192292378
  • then you should use -1001192292378