joeyb / collaborative-markdown Goto Github PK
View Code? Open in Web Editor NEWCollaborative Markdown editor built using Derby.js
Collaborative Markdown editor built using Derby.js
Hi,
The first time you launch the project, I get the following error:
Template Error
TypeError: Cannot call method 'replace' of undefined
Please report this to https://github.com/chjj/marked.
at Lexer.lex (/Users/victorhooi/code/collaborative-markdown/node_modules/marked/lib/marked.js:130:6)
at Function.Lexer.lex (/Users/victorhooi/code/collaborative-markdown/node_modules/marked/lib/marked.js:121:16)
at marked (/Users/victorhooi/code/collaborative-markdown/node_modules/marked/lib/marked.js:1091:31)
at Object.<anonymous> (/Users/victorhooi/code/collaborative-markdown/lib/app/index.js:32:12)
at fnValue (/Users/victorhooi/code/collaborative-markdown/node_modules/derby/lib/viewPath.js:160:13)
at dataValue (/Users/victorhooi/code/collaborative-markdown/node_modules/derby/lib/viewPath.js:347:13)
at /Users/victorhooi/code/collaborative-markdown/node_modules/derby/lib/View.js:919:12
at /Users/victorhooi/code/collaborative-markdown/node_modules/derby/lib/View.js:597:46
at render (/Users/victorhooi/code/collaborative-markdown/node_modules/derby/lib/View.js:232:12)
at Object.get (/Users/victorhooi/code/collaborative-markdown/node_modules/derby/lib/View.js:301:30)
If I shut it down, and then launch it again, it's fine the second time I launch it.
However, in Mongo, if I drop the project
database and launch it again, the above error recurs.
Cheers,
Victor
The demo is currently not working.
Next to https://github.com/segmentio/socrates, this is one of the only MarkDown editors that I know of that are capable fo real time (OT) collaboration like Etherpad Lite.
Does that work?
When I run node server.js
and open the browser at http://localhost:3000/ the page loads forever (eventuall timing out) and nothing shows up except in the stdout from node:
Unhandled document message: { v: 1,
data:
{ title: 'New Document',
markdown: '',
id: '252010ed-def8-43c1-bfc8-ed75f40e8e64' },
type: 'http://sharejs.org/types/JSONv0',
m: { mtime: 1417471062649, ctime: 1417471062649 },
c: null,
d: null }
Any idea how I can get this running? Would love to give this app a try locally!!
Iโm on OS X 10.9.5 with latest node.js (v0.10.33) and mongodb v2.6.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.