hius07

Results 641 comments of hius07

KOReader version must be later than 7 August.

Try this one with 2024.07 ```Lua local ReaderAnnotation = require("apps/reader/modules/readerannotation") local ReaderToc = require("apps/reader/modules/readertoc") ReaderToc.getFullTocTitleByPage = ReaderToc.getFullTocTitleByPage or function(self, pn_or_xp) local chapters = {} local toc_ticks_ignored_levels_orig = {} local toc_chapter_title_bind_to_ticks_orig...

You'd ask @uroybd , the master of markdown export, about this.

> could you please use the `["pageref"] `key If it exists, it is used in the main module, no worries in the targets (formats): https://github.com/koreader/koreader/blob/5b2cc5f63263abbca6c134e127542af09daf3924/plugins/exporter.koplugin/clip.lua#L244

I think we shall not add a new field. The string should be splitted at a separator for your purposes.

Just parse at ` ▸ `. If no separator, one ToC level only.

If needed, we have https://github.com/koreader/koreader/blob/d98fe14ba822efb51c9f895574437c3ffc8c3a45/frontend/util.lua#L90

Except this thread, nobody has ever asked to have full chapter paths in highlights. So it remains a userpatch so far. But the idea is not bad, maybe some day...

Is the request still valid since we have this in the Book information window?