GithubHelp home page GithubHelp logo

mdedit's People

Contributors

henni avatar jbt avatar pirelenito avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mdedit's Issues

Nearly not responding when editing on a very big file

On a file with a java code block over 8000 lines, typing one character takes up to 2 seconds to get it reflected on screen on my i7/16G RAM/ssd machine

The other thing is when I first load that big file, even after the Editor.prototype.changed get triggered, it takes up to 4 seconds to display the full content in editor window. As a comparison the right side preview window driven by markdown display instantly after changed event triggered

Use selected subset of Prism?

I want to use this widget to provide my users with a neat editor to use for their content. Unfortunately when I saw Prism being 133kb in size (prism-all.js), i gulped pretty hard. Because that is really big.

My environment uses WebPack, so I can utilize CommonJS and the like. What is the best way to only use selected languages?

Which browsers does this library support?

A short documentation / sentence in the README about browser support (especially IE versions) would be great.
This information is interesting for contributors of this library and developers using mdEdit.

Add support for right-to-left languages

There isn't a decent Markdown editor available for RTL languages (Persian, Arabic, Hebrew).
Given the web based nature of this editor adding RTL support should be pretty straight-forward.
Maybe a button or a keyboard shortcut can toggle between RTL/LTR?

Need a whole pile of functions and events for measuring / scrolling

A few events and methods look like they're gonna be essential to implement nice chained scrolling in a side-by-side editor:

  • Get the Y-position of a given line or collection of lines (also, how does this work with wrapping?)
  • Scroll to a given Y position
  • Get the current scroll state + view dimensions
  • Fire events on scroll

All but the first one are of course possible with standard DOM events. Being able to measure to a certain line or collection without thrashing layout could be somewhat trickier.

How can I use API to move cursor?

First, thanks for this neat tool, love it!

Now question: is there any API for me to move the cursor to somewhere e.g. the end of the document?

Add documentation on supported markdown elements

A few short entries in the wiki about the supported markdown elements would be great.
Possibly with examples.
It's a bit difficult to extract this information from the code because of the partially complex RegExs.

Use Bower?

Would it be better to use Bower to import Prism?

Gulp

Use Gulp to build mdEdit?

Is this project still live?

Still nobody is answer the issue submits :-(

I start to wondering if it is a wise decision to put my project on top of this one ...

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.