Git Product home page Git Product logo

Comments (1)

JanKanis avatar JanKanis commented on September 24, 2024

Depends on what you want this plugin to be. For 'just' a preview you don't need these features, but apparently the original author thought them to be useful. I'm personally not interested in putting in the work to get these exports working again, but if you want to that is fine. The makeTable function looks useful (ascii art tables are difficult to edit manually), unfortunately it is only one-way so it only helps with the first version and not with then making edits.

If nobody is going to fix these features I would delete the code. As they say, you can always find it back in git. However to make it possible for anyone interested to find the code back I'd add a description and git commit hash+date/link of what was deleted to the README or history-porting file.

On a side note, the reason I started looking into reST preview functionality was because I'm working on a big reST document for which I wanted a live preview with synchronized scrolling. VSCode's reST plugin and another reST editor do synchronized scrolling but they don't work very well for large documents. They appear to just scroll the preview to the same position as the editor window, measured in percentages of the total height. But that doesn't work well with e.g. .. contents:: or commented out text where the height taken up in the source doesn't match the height in the output. In my document the synchronized scrolling would show me parts of the document several screens away from what I was editing. So I searched for a reST preview that does synchronized scrolling that works with large documents, but that doesn't seem to exist. I started to have a look at this gedit plugin as it was in Python, which I know well, and I already used GEdit. So I might give it a try to implement synchronized scrolling that works with large documents, but I won't give any promises as to if or when.

from gedit-rest-plugin.

Related Issues (17)

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.