MarkdownMonsterAddin.OnPreviewLinkNavigation

Allows you to detect Preview Browser Link navigation and take over the navigation.

public virtual Task<Boolean> OnPreviewLinkNavigation(string url,
	string src)

Return Value

true to specify you handled the navigation, false to let the default behavior run

Parameters

url
The URL that was navigated in the preview

src
The actual href ``referenced in the URL without browser fixup which might be different than the URL ie. relative urls or custom monikers

Remarks

If multiple handlers have registered in multiple addins, the first one to handle navigation wins. Be conservative in returning true


See also:

Class MarkdownMonsterAddin

© West Wind Technologies, 2016-2024 • Updated: 11/23/21
Comment or report problem with topic