Coder Social home page Coder Social logo

simplemde-markdown-editor's Introduction

simplemde-markdown-editor

simplemde-markdown-editor's People

Contributors

nextstepwebs 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

simplemde-markdown-editor's Issues

Report malware on NPM

Hi guys,

as you have all noticed, this package has most probably been compromised and the linking from npmjs is incorrect. Correct link is https://github.com/sparksuite/simplemde-markdown-editor

Please visit following page to fill a report on npmjs and ask them to update the linking to correct package :).
https://www.npmjs.com/support?inquire=security&security-inquire=malware&package=simplemde&version=1.11.2

I'd like to use this package, but I dont want to add dependency that is known to be compromised. I have already filled the report, please join me ;) .

error:var marked = require("marked"); marked is not a function

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch [email protected] for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/simplemde/src/js/simplemde.js b/node_modules/simplemde/src/js/simplemde.js
index 016d693..5956e47 100644
--- a/node_modules/simplemde/src/js/simplemde.js
+++ b/node_modules/simplemde/src/js/simplemde.js
@@ -1414,7 +1414,7 @@ SimpleMDE.prototype.markdown = function(text) {
 
 
 		// Return
-		return marked(text);
+		return marked.marked(text);
 	}
 };
 

This issue body was partially generated by patch-package.

Vuejs 2.5.2 warning

Hello,

After upgrading to vuejs 2.5.x, I'm getting the following warning:

WARNING in ./node_modules/Marked/lib/marked.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* /Users/nicolaswidart/Sites/Projects/grimdawn.trade/node_modules/Marked/lib/marked.js
    Used by 1 module(s), i. e.
    /Users/nicolaswidart/Sites/Projects/grimdawn.trade/node_modules/vue-simplemde/dist/vue-simplemde.min.js
* /Users/nicolaswidart/Sites/Projects/grimdawn.trade/node_modules/marked/lib/marked.js
    Used by 1 module(s), i. e.
    /Users/nicolaswidart/Sites/Projects/grimdawn.trade/node_modules/SimpleMDE/src/js/simplemde.js
 @ ./node_modules/Marked/lib/marked.js
 @ ./node_modules/vue-simplemde/dist/vue-simplemde.min.js
 @ ./resources/assets/js/app.js
 @ multi ./resources/assets/js/app.js ./resources/assets/sass/app.scss ./resources/assets/sass/front.scss

disable preview styling while in editor mode

Hello,

We would like to have the preview styling in the editor disabled. We only want to see the styling while in preview mode.
I have been looking but don't know how to configure this...

Could you please help?

Thank you!

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.