snosov1 / toc-org

toc-org is an Emacs utility to have an up-to-date table of contents in the org files without exporting (useful primarily for readme files on GitHub)
GNU General Public License v3.0
287 stars 29 forks source link

#+BEGIN_QUOTE disappear after saving #64

Closed Ynjxsjmh closed 5 years ago

Ynjxsjmh commented 5 years ago

I just copy the code in https://raw.githubusercontent.com/snosov1/toc-org/master/README.org

* Table of Contents                                                     :TOC:QUOTE:
#+BEGIN_QUOTE
- [[#about][About]]
- [[#installation][Installation]]
  - [[#via-packageel][via package.el]]
  - [[#manual][Manual]]
- [[#use][Use]]
  - [[#follow-links][Follow links]]
  - [[#exclude-headings][Exclude headings]]
  - [[#quote-table-of-contents][Quote table of contents]]
  - [[#shortcut-for-toc-tag][Shortcut for TOC tag]]
- [[#different-href-styles][Different href styles]]
- [[#example][Example]]
#+END_QUOTE

But after saving the file, the #+BEGIN_QUOTE and #+END_QUOTE two lines disappear.

And I try to add these two lines manually, but failed.

snosov1 commented 5 years ago

Are you using the latest package?

Ynjxsjmh commented 5 years ago

Thanks for your instant reply, after updating to the latest package, it works.