5 ms·
Another closed file format. I think we're are in need of a lightweight document format, which is more complex than markdown, but needn't be as complex as docx.
by ktta 10y ago
Another closed file format. I think we're are in need of a lightweight document format, which is more complex than markdown, but needn't be as complex as docx.
A quick google shows some results which look like pet projects of small business which have obviously failed (since I've never heard of them before)
All of these new document formats that are pushed by big companies (some are really great I actually love using Google Docs) try to tie the user as close to their eco-system as possible.
When ever I try to maintain documents for long term storage, markdown seems like the only good format. I've seen people talk about stuff like org-mode, etc, but they all lack the fluidity and the WYSIWYG nature of Google docs, docx etc. I'm talking about how markdown never actually stores pictures inside the document, but just links to them, and you'll have to use a specific application to view the rendered markdown, and a different one to edit or make new ones.
I'm interested to see that does everyone else use for documents? And please don't suggest docx+open/libre office. I'm still waiting for some of those applications to properly handle a big file and I don't want to wait so long for those applications to even open.
EDIT: Thanks for the replies. I think I should clarify something. I'm looking for a WYSISWYG tool, like google docs/docx. I don't really have time to spend doing the edit->render->see where you went wrong->edit cycle. This really hurts productivity when you're editing large documents and increases the barrier for new comers. I do use LaTeX but only when I need ultra sharp looking documents with specific needs. I really like it, but only pull it out when I need to write a paper and want the output in PDF. Other times, it's really not worth the effort.
So formats which require me to render to HTML etc, are a no go. I'm looking into ASCIIDOC but even that looks like it's very similar to markdown. And by WYSISWYG, I mean I want to type, and press Ctrl+B to write in bold, and Ctrl+I for italic and right click to insert hyperlink and so on. Not use asterisks everytime whenever I want to make something bold. Sure it transparently to that in the background, but I shouldn't have to worry about it.
- raam86 10y agoare you talking about HTML? w3c got it figured out, or do you mean LaTeX?
- wodenokoto 10y agoThere is no HTML-container format, so you cannot create a multimedia HTML document (singular)
- amk_ 10y agoThere is: https://en.wikipedia.org/wiki/MHTML https://en.wikipedia.org/wiki/MHTML
- rmkrmk 10y agoAFAIK it's all markdown and you can export your files as markdown. There's also an API available to export your paper docs as markdown.
- sooheon 10y agoOnly export though? I can't just edit the files in place with emacs, which is my preferred way to edit anything? I don't mind if all the collaboration stuff was only visible with whatever dropbox editing UI, I'd just like the freedom to edit with whatever tool I wish to use.
- lwf 10y ago> I'd just like the freedom to edit with whatever tool I wish to use. How should whatever tool you're using handle the case when another person is editing the document at the same time as you?
- akeck 10y agoI've been playing with passing markdown+css file+image tree to: pandoc {options} -H file.css --self-contained. It base64 encodes the images directly into the HTML5. The css in file.css is wrapped in <style></style> and is inlined in the header. The result is a fat HTML file with all the basic bits to make an article included. Exact line: pandoc --standalone --toc -V "toctitle:'Title'" --self-contained --to html5 -H article.css -o file.html file.markdown. Image links in code: \ <-- escaped space to force inline image.
- wodenokoto 10y agoFor the longest time (5 or 6 years, way longer than Electron) I have been puzzled as to why there didn't exist a document format for offline websites/apps, that are basically a zip file of HTML+CSS+images+javascript. That way you could build simple, easily distributable multimedia documents and web apps.
- akeck 10y agoThe pandoc help section on "--self-contained" indicates that it can mostly handle your use case (minus the compression step).
- ktta 10y agoThis is close, but I'm thinking cut out the web tools part. Do we really have to depend on HTML and CSS (or other XML based format which needs a web browser to view) to make and edit a simple word document? I cringe thinking of the bloat that is introduced when using CSS and javascript to view text+pictures.
- zo1 10y agoI haven't used it in a while, but most browsers allow you to go File->Save, and it'll save everything in a contained folder structure that should be easily zippable. Including all linked images/CSS/JS, with their references fixed for local-consumption. That is, until requireJS/AMD/angular/react/backbone/etc and those sorts of things started polluting the web. Thanks you JS developers.
- 10y ago
- phalangion 10y agoI use AsciiDoc for my more complicated documents. It's a lot like Markdown, but with more options when I need them to do specific things with formatting my documents.
- nine_k 10y agoOne of the problems is that people want different things from a "simple document format". Some want rendering-agnostic structure, like Wiki / Markdown / Org mode, that emphasizes structure and text, with things like links, tags, etc. Other want to print centered headers on level 1, and left-aligned for level 2, and body text with a particular font, with fragments in a different color, and pictures with text flowing around them, etc. These two camps command different design goals. A format that makes one of these easy adds complications and edge cases to the other. The funny thing is, the same people periodically need one tool and the other, and even want to mix them. Many of them would consider having two tools for these jobs superfluous, especially if paid. They'd rather bend an existing tool, because how hard it is to add spans of colored text? or collapsed sections? It's, like, a hundred lines of code! Hence the modern office formats, tolerably doing a huge spectrum of things, none of them brilliantly, and hopelessly complicated.
- amlozano 10y agoI feel Latex can is the best tool that can both of these jobs simultaneously.
- sjy 10y agoI'm pretty happy with pandoc markdown, compiled to PDF or HTML using LaTeX or CSS for styling, which achieves both of those design goals. But I also want to compose my first draft in a WYSIWYG editor and send it to non-technical users for editing (with tracked changes), so I do almost all of my writing in Word. It's the user interface, not the file format, that I find limiting.
- amk_ 10y agoDocx is basically a zipped container for XML + embedded images. What if there was a .mz (zipped markdown) format that markdown editors would treat as a single file for the document + embedded materials?
- dunham 10y agotextbundle.org is an attempt to standardize that. Not sure how much traction it has though.
- enobrev 10y agoI've been using Paper since October, and thus far it's been my favorite Markdown Editor. It's not perfect, but it does a great job of accepting inline markdown and then just getting out of the way. Also, you can export from Paper to Markdown or docx. I've written a few of my github READMEs in Paper and then exported to Markdown and they've worked just fine. The examples you've mentioned (ctrl-i, ctrl-b, insert hyperlink) all work just fine, as does pasting markdown directly into the editor. -- I have nothing to do with Dropbox, except as a happy paying customer and a happy Paper user.
- apepe 10y agoYou may want to try authorea.com - open format, based on Git, and it supports LaTeX and Markdown in addition to a WYSIWYG similar to Dropbox.