[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: want a file format easily edited and read by emacs that allows (mult

From: Daian YUE
Subject: Re: want a file format easily edited and read by emacs that allows (multiple) pictures to be included
Date: Sat, 02 Dec 2017 21:06:41 +0800
User-agent: mu4e 0.9.18; emacs 25.3.1

On 2017-12-02 08:02, Dan Hitt <> wrote:
> For the notes i keep, sometimes i would like to sometimes include a
> picture (jpg or png or maybe some other format).
> emacs seems to have no problem displaying a picture but i would like
> to add words to it.
> So reading the file in emacs would be something like looking at html,
> but i would prefer it something to be hot-editable, just like text
> files are.
> That is, i would prefer not to have any markup in the file whatsoever,
> just a block of text, then a picture, then more text, then another
> picture, and so on.  Perhaps an unprintable character could divide the
> sections, and each section type could be recognized as either starting
> with the magic words of a jpg or png and be presented as a picture, or
> otherwise, presented as utf-8.  (So i guess the unprintable character
> would be markup, but certainly i wouldn't want something as lengthy as
> <img> to appear in the file.)
> Ideally, emacs would recognize the type of file it was by a
> mode-defining like at the top, like -*- text -*- (except, of course,
> not text).
> Does any file format/mode combo like this exist?
> TIA for any clues!! :)
> dan

Hi Dan,

I think Org Mode is what you are looking for.

>From what you want, it contains following features:
- pure text based
- Emacs built-in, very easy to works with
- can embed pictures easily [[some_picture.jpg]]
- has many inline declaration for controlling titles, code blocks etc
- can be exported to Makrdown, HTML, etc etc

I personally used it to generate development documentation (pictures
included) in a small project.

It is really handy to edit org file in Emacs, then "C-e h h" to generate
HTML. The style of generated HTML file can be modified by external CSS

Also, many people (including me) use Org Mode for task
scheduling/management, taking notes, writing documentations, blogs, etc.

I highly recommend you to give it a try. :-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]