0

I am new to emacs. In addition, I decided to learn org-mode which seems to be fantastic.

I wrote this .org file that you can check here. In Github, the file has this appearance:

enter image description here

In Emacs, it has a different appearance as the source:

enter image description here

I would like to see the content locally as it will be presented on Github.

I tried using C-c C-e with options like .HTML and .odt. However, the output files do not look like the Github one.

Is there something that I could do to get what I want?

Ideally, it would be good to have a "previewer" instead of really exporting a file just to see how it would look like.

4

I am no expert at this, but I guess github uses its own CSS, and ultimately renders html. So I guess there has to be some kind of export involved.

I know about two easy options, of which I would recommend grip-mode (requires the python grip package). The other option gfm-mode (appears to rely on deprecated packages Docter or Marked 2).

Looking back at this PR, I see there is also vmd-mode.

1
  • 1
    I believe that they use org-ruby for exporting to HTML (plus a ton of CSS and JS). – NickD Jun 15 at 20:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.