Greasy Fork is available in English.

Mangadex Preview Post

WhatYouSeeIsWhatYouGet preview generator for MangaDex comments/posts/profile. Shows a formatted preview next to the edit box.

Встановити цей скрипт?
Скрипт запропонований Автором

Вам також може сподобатись Mangadex Autocomplete.

Встановити цей скрипт
Автор
Shy Guy
Щоденних встановлень
0
Всього встановлень
76
Рейтинги
1 0 0
Версія
0.3.15
Створено
14.04.2019
Оновлено
26.09.2019
Size
43,5 кБ
Ліцензія
MIT
Відноситься до

MangaDex Post Preview

Write your post right the first time!


Install with GreasyFork Bookmarklet Version View On Github

As one of the more complex bbcode users, I am rather confident this supports everything you normal people want. This can also be run in the browser console if you do not have a userscript manager.

Preview

Preview Gif

Notes:

  • URL link generation is still WIP. It should work fine for valid urls. But may treat more URLs as valid than MD does.
  • Image URLs also may receive incorrect validity values
  • I am now validating my results by comparing them to what MD generated. So far it seems good, though any post with an img incorrectly fails validation in userscript mode (because we use a blob src instead of the actual url)

Bugs:

  • Just finished mashing them in. Let me know what you think

Not planned:

  • @mention link generation. We do not know the user's id so we cannot generate a link, cannot be sure the user exists, so a dummy link could be misleading. And running a MD search for the user would be a waste of resources because lets face it, you do not want to visit their profile page anyways.