Giter Site home page Giter Site logo

daodaoliang / gedit-rest-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bittner/gedit-rest-plugin

0.0 1.0 0.0 336 KB

reStructuredText Preview and Highlighting for gedit 3.8+. Original project now stale at

Home Page: http://kib2.alwaysdata.net/GEdit/

License: GNU General Public License v3.0

Python 63.07% TeX 14.45% CSS 22.48%

gedit-rest-plugin's Introduction

reStructuredText Plugin

This is a little how-to for using the reStructuredText plugin inside gedit.

reSt Plugin Image

Dependencies

Installation

  • Choose the right source for your version of gedit from the releases on GitHub. With git you can checkout the corresponding tag (e.g. git checkout gedit-3.8).
    gedit-3.8

    3.8 <= gedit < to 3.10

    gedit-3.10

    gedit >= 3.10 (3.18 has been reported to work fine)

  • Put reST.plugin file in gedit's plugins directory. The standard one should be ~/.local/share/gedit/plugins/. Alternatively, the global directory is something like /usr/lib/gedit/plugins/ or /usr/lib/<architecture>-linux-gnu/gedit/plugins/.
  • Copy the whole reST folder into the same directory.

You should then obtain something like this:

.../plugins/
        reST.plugin
        reST/
            __init__.py
            makeTable.py
            etc.
  • Follow the instructions in syntax/README.rst to activate syntax highlighting. (Note that recent versions of gedit already ship with this included. Check the language mode drop-down in the footer bar of gedit's editor window.)

Usage

Activate the plugin via Edit / Preferences / Plugins and check the checkbox next to reStructuredText Preview.

The plugin is now activated, and you should have a new panel inside the bottom pane named reStructuredText Preview. If you don't see the panel on the bottom of the editor window make it visible via View / Bottom Panel.

More Features

Prior versions versions of this plugin had more features (manual reloading with Ctrl+Shift+R, export to HTML, LaTeX and LibreOffice formats). See the July 4, 2014 version of this README.

If you want these features in again please get your hands dirty and make a pull request. The refactored code base of the current version should make this more easy than ever. Your contribution is appreciated!

Alternatives

If you're not totally happy with this plugin try the following editors for quick and free solutions of editing reStructuredText files:

  • rsted (online reStructuredText editor)
  • ReText (reStructuredText and MarkDown editor)

gedit-rest-plugin's People

Contributors

bittner avatar fpoirotte avatar mcepl avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.