Skip to content

Userscript for prettifying a markdown on the notabenoid.org service

Notifications You must be signed in to change notification settings

whatifrussian/notabenoid_markdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 

Repository files navigation

About

This is userscript for support the process of translating What If? articles and xkcd webcomic to Russian. It parses and styles text fragments on Notabenoid (the service for collective text tranlating) for convenient reading and editing.

Installation

  1. Install one of userscripts' manager: Greasemonkey addon for Firefox or TamperMonkey addon for Chrome/Chromium.
  2. Install the userscript.

That's all.

Notes:

Installation of userscripts without an userscripts' manager seems to be completely disabled in recent Firefox/Chrome due to security reasons.

Scriptish addon for Firefox seems to be outdated and doesn't work for me with recent Firefox (45.0.1) version.

Syntax

The script highlight subset of markdown formatting elements, render links and formulas; nothing unexpected here. Typical mistakes (for Russian texts) also highlighted in translated text as well as few formatting peculiarity, which is specific for our projects (for example scene descriptions and character names).

Also the script provide directive render, which now support only image embedding with the next syntax:

render: ![](http://example.com/image.png)

Note: For detailed list of all performed substitutions please check out substitutions variable in source code.

The script perform redirect from old URLs with .com top level domain to the similar URLs with .org.

License

Public domain. You free to use it as you need without any restrictions. No guarantees provided.

About

Userscript for prettifying a markdown on the notabenoid.org service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published