Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a better reStructuredText syntax highlighting #18

Open
mgaitan opened this issue Jun 25, 2013 · 3 comments
Open

Implement a better reStructuredText syntax highlighting #18

mgaitan opened this issue Jun 25, 2013 · 3 comments

Comments

@mgaitan
Copy link
Owner

mgaitan commented Jun 25, 2013

The syntax highlighting built-in with SublimeText is very poor (many users agree: 1, 2, 3)

Important things it doesn't hightlight are:

  • headers,
  • codeblock (nor any directive or indented block),
  • emphatized or strong text,
  • replaces,
  • lists,
  • table borders,

I've researched a bit to compare another editors with this content.

Hello
-----

:author: Martín Gaitán
:date: today ;-)

Lorem ipsum |genius| sit amet, consectetur

.. code-block::

    print 'Hello world'

| quoted
|     text

+------+-------+
| this | is    |
+======+=======+
| a    | table |
+------+-------+

* Link: `this is my blog`_
* Item 2 [1]_

.. |genius| replace:: Lionel Messi
.. [1] A footnote
.. _this is my blog: http://mgaitan.github.io

Sublime's built-in highlight with the default color schema (Monokai)

sublime-rst

Vim

vim-rst

Emacs

emacs rst

Notepad++

Using this plugin though Wine

notepadpp-rst

Sublime rst extended highlighting

This attemp didn't worked for me. It just changed the color of .. code-block:: directive.

sublime-rst-extended

@gordonpro
Copy link

yes! this is a very eagerly feature.

@mgaitan
Copy link
Owner Author

mgaitan commented Jan 20, 2014

Kay-Uwe Lorenz did the work! https://bitbucket.org/klorenz/sublimerestructuredtext . Should we integrate this on our extension?

@gordonpro
Copy link

i demand

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants