Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion desktop-app/resources/js/preview-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ function splitMarkdownBlocks(markdown) {
}

if (!inFence && !inMathBlock && trimmed === "") {
flush(lineNumber);
flush(lineNumber - 1);
startLine = lineNumber + 1;
continue;
}
Expand Down
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,9 @@ <h2 class="h5 m-0">Menu</h2>
<div class="find-replace-meta-row">
<span id="find-replace-count" class="find-match-count" role="status" aria-live="polite">0 of 0 matches</span>
<div class="find-nav-group">
<button type="button" class="find-section-btn" id="find-section" title="Click content in the editor or preview to locate the matching section." aria-label="Find Section: click content in the editor or preview to locate the matching section" aria-pressed="false">
Find Section
</button>
<button type="button" class="find-nav-arrow-btn" id="find-prev" title="Previous match (Shift+Enter)" aria-label="Previous match" disabled>
<i class="bi bi-chevron-up"></i>
</button>
Expand Down
2 changes: 1 addition & 1 deletion preview-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ function splitMarkdownBlocks(markdown) {
}

if (!inFence && !inMathBlock && trimmed === "") {
flush(lineNumber);
flush(lineNumber - 1);
startLine = lineNumber + 1;
continue;
}
Expand Down
Loading
Loading