mobily / markdown-live Goto Github PK
View Code? Open in Web Editor NEWMarkdown preview with live update.
Markdown preview with live update.
Socket.io is always polling from localhost
:
http://localhost:2304/socket.io/?EIO=3&transport=polling
It works fine if running from the same machine, but from another machine where IP address is needed, this is a problem.
This is by far the best tool for writing markdown files but it needs a new functionality to achieve perfection.
Right now when a file changes on save, the content is sent to the browser via websockets. This is ok, but I'd like to see the changes without saving the file, a "true" markdown live preview. The way to achieve this is simple. Open an http port and add a route: POST /:filename
, the body will contain the content of the file. When you receive a request, you just need to forward the content to the browser which is listening on the other port. This way you'll be allowing the integration with any ide, for example, sublime.
Just stumbled upon this great markdown editor. I have only one minor issue. Since im using GitLab wikis from time to time I edit the markdown files locally. But they have the file extension *.markdown and therefore are not recognized by markdown live.
I was looking around for a specification of file extensions to be used and found this: http://superuser.com/questions/249436/file-extension-for-markdown-files
Maybe it is possible to support some other extensions?
Thanks
marked supports it already...
As I use it with Sublime Text, I often open just one file and want a preview. It could be great in this case not to have the sidebar.
Could it be possible to do something like:
$ mdlive --file test.md --mono
?
hello!
Sorry but this project supports images?
├── 004-jaws-work-with-lambda.md
└── img
├── cloudformation-stack.png
├── deploy.png
├── first_test_apigateway.png
├── foldering.png
├── jaws-startup.png
└── new_module.png
This is my foldering, I run this command into the root
mdlive --dir .
but this image (into the 004-jaws-work-with-lambda.md
file) return 404
![Start up JAWS](img/jaws-startup.png)
This is only a my problem? Thanks
hi, I am using your great markdown-live with code runner as my markdown editor with live render and now I need to hide the file navigator in the live browser because my code runner already has and I just want the browser can show all text content in half screen without wasting visual space.
so, How can I do to get it?
are the unobfuscated sources for public/js/app.js
and public/css/default.css
available anywhere? i think they're supposed to be provided as per the license terms, but in any event it's impossible to work the js, in particular, in the obfuscated format. thanks!
Make --dir
to monitor all the markdown files inside the tree structure, not only the first level.
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.