mirror of
https://github.com/gavvvr/obsidian-timecodes-plugin.git
synced 2026-07-22 05:38:08 +00:00
doc: add comment about MarkdownPostProcessor behavior
This commit is contained in:
parent
4ca783077d
commit
f3ce484122
1 changed files with 5 additions and 0 deletions
|
|
@ -7,6 +7,11 @@ import { createTimecodedYouTubeLink, findYouTubeVideoId } from '../utils/youtube
|
|||
let latestRequiredEnricher: TextTimecodeEnricher | null = null
|
||||
let latestNoteBeingProcessed: string | null = null
|
||||
|
||||
/*
|
||||
* From my observations, MarkdownPostProcessor:
|
||||
* - gets called once for each paragraph in a note
|
||||
* - doesn't get called again on subsequent switch to view-mode unless there was a change in paragraph
|
||||
*/
|
||||
export function turnRawTimecodesIntoClickableLinks(
|
||||
root: HTMLElement,
|
||||
ctx: MarkdownPostProcessorContext,
|
||||
|
|
|
|||
Loading…
Reference in a new issue