Add TOC support

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
jpirnay
2026-04-23 21:27:14 +02:00
co-authored by Copilot
parent a90290a596
commit 01a9d7cb36
7 changed files with 502 additions and 21 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ void ReaderActivity::onEnter() {
return;
}
onGoToXtcReader(std::move(xtc));
} else if (isMdFile(initialBookPath)) {
} else if (isMDFile(initialBookPath)) {
auto txt = loadTxt(initialBookPath);
if (!txt) {
onGoBack();