fivesixty / notepages Goto Github PK
View Code? Open in Web Editor NEWMarkdown/LaTeX editable pages
Home Page: http://notepag.es
License: MIT License
Markdown/LaTeX editable pages
Home Page: http://notepag.es
License: MIT License
It looks like the mdext and quickdiff submodules use "[email protected]" paths, so others can't access it. Here's what a fresh (recursive) clone looks like:
$ git clone --recursive https://github.com/fivesixty/notepages.git
...
Resolving deltas: 100% (698/698), done.
Submodule 'public/lib/ace' (git://github.com/ajaxorg/ace.git) registered for path 'support/ace'
Submodule 'public/lib/mdext' ([email protected]:fivesixty/mdext.git) registered for path 'support/mdext'
Submodule 'public/lib/quickdiff' ([email protected]:fivesixty/quickdiff.git) registered for path 'support/quickdiff'
Submodule 'support/store' (git://github.com/marcuswestin/store.js.git) registered for path 'support/store'
...
Initialized empty Git repository in /home/caseywstark/development/notepages/support/mdext/.git/
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Clone of '[email protected]:fivesixty/mdext.git' into submodule path 'support/mdext' failed
$
So the rest of the submodules aren't updated either. I changed the relevant lines in .git/config to:
[submodule "public/lib/mdext"]
url = git://github.com/fivesixty/mdext.git
[submodule "public/lib/quickdiff"]
url = git://github.com/fivesixty/quickdiff.git
After "git submodule update", it looks good.
Hitting the home page with Firefox 4 seems to create the new page and redirect me to it, but the editing view doesn't show up. There's an error visible in the Firebug console:
uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLTextAreaElement.selectionEnd]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://notepag.es/assets/lib/fieldSelection.jquery.js :: <TOP_LEVEL> :: line 22" data: no]
I got everything up and running, but going to a notepages page throws a SyntaxError. That is, the front page renders fine, but going to any other url, I get:
500 SyntaxError: Unexpected token ILLEGAL
at Object.Function (unknown source)
at Object.compile (/home/caseywstark/notepages/node_modules/jade/lib/jade.js:160:8)
at Function.compile (/home/caseywstark/notepages/node_modules/express/lib/view.js:68:33)
at ServerResponse._render (/home/caseywstark/notepages/node_modules/express/lib/view.js:417:18)
at ServerResponse.render (/home/caseywstark/notepages/node_modules/express/lib/view.js:318:17)
at Promise. (/home/caseywstark/notepages/notepages/server.js:149:11)
at Promise. (/home/caseywstark/notepages/node_modules/mongoose/lib/promise.js:120:8)
at Promise. (events.js:67:17)
at Promise.emit (/home/caseywstark/notepages/node_modules/mongoose/lib/promise.js:59:38)
at Promise.complete (/home/caseywstark/notepages/node_modules/mongoose/lib/promise.js:70:20)
I searched around and it sounded like a Jade syntax error. I tried debugging with the jade bin and it was fine after I took out the MathJax script include and all references to the page var. I tried adding each piece in one at a time -- the references to page work fine and the page renders, but as soon as I include the MathJax block, I get the same error.
I'm sorry I don't have a fix to this, but I've never worked with node, express, or jade.
I wrote many documents on notepag.es about 1 year ago, and it seems like the website is not up now. Unfortunately, I'm not sure if I backed up those articles, and even if I did, I cannot find them now.
Is there any chance that you still have a database dump from which I might be able to extract the articles? I have the relevant links to notepag.es URLs, if that might help. I would highly appreciate if that might be possible. Thanks!
Just tried installing node and dependencies following readme. Apparently picked up express 3.0.0beta7, and running notepages app gives:
console.log("Express server listening on port %d", app.address().port);
^
TypeError: Object function app(req, res){ app.handle(req, res); } has no method 'address'
at Object.<anonymous> (/Users/khalid/Development/notepages/server.js:186:58)
This issue seems to be mentioned in https://github.com/visionmedia/express/wiki/Migrating-from-2.x-to-3.x, I guess the app needs updates for express 3.
Maybe I didn't know where to look, but the current usage seems undiscoverable to a user unless they look at the mathjax chunk in the HTML source of the preview.
Currently, %%
is used to start/end inline math. Would it be possible for notepag.es to support starting/ending inline math with $
, since that's standard LaTeX usage (%
is typically used for comments in LaTeX). I think this would make things more convenient while writing math and would also make the format more compatible with LaTeX.
I wonder if changing the format would make it more cumbersome to freely use $s in the document without some escape sequence.
Hello!
It would be awsome to be able to use the password protection in notepag.es also to hide a page from those who don't know the password.
Regards,
Jakov
As of the creation of this issue, http://notepag.es/ is down. All pages return err 502:
502 Bad Gateway
nginx/0.7.65
I assume this is a server configuration change, and not you abandoning the project. I'd be very happy to see the site back online. If not, and you're abandoning it for whatever reason, please drop me a line, at the very least I'd like to get a couple of my own documents off; I might even be interested in continuing hosting the project.
As a side note, it's a fantastic site. Props.
Some kind of mini editor to help build equations (symbol insertion etc).
support for markdown syntax for tables:
per http://michelf.com/projects/php-markdown/extra/#table
Example:
First Header | Second Header |
---|---|
Content Cell | Content Cell |
Content Cell | Content Cell |
Would be cool if it saved on cmd + s
or ctrl + s
.
Cheers and thanks for a great service!
D
PS Might also be cool if the rendered markdown had a little less space between bullet points. This is kinda minor though and very much personal preference, just thought I'd mention it in case you happen to agree.
The same 503 Bad Gateway as I reported with the last outage.
Should be centred in the space left by the editor.
I really like your markdown support for Ace but I can't really use it in another project because it's kind of hard to detangle. Would you consider breaking it out in to it's own library?
Hey, is the notepag.es site ever coming back? I'm looking for a doc I wrote about 7 months ago that I'd really like to get back, but it looks like the site has been down for a while now. I know I probably should have backed up the doc elsewhere, but if you could put the site back up even for a short while, I'd be very grateful.
Thanks.
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.