You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-16 00:14:34 +02:00
Chore: Refactor renderer package: Limit dependency on @joplin/lib
and improve type safety (#9701)
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import { RuleOptions } from '../../MdToHtml';
|
||||
import { attributesHtml } from '../../htmlUtils';
|
||||
import utils from '../../utils';
|
||||
import * as utils from '../../utils';
|
||||
|
||||
function renderImageHtml(before: string, src: string, after: string, ruleOptions: RuleOptions) {
|
||||
const r = utils.imageReplacement(ruleOptions.ResourceModel, src, ruleOptions.resources, ruleOptions.resourceBaseUrl, ruleOptions.itemIdToUrl);
|
||||
|
Reference in New Issue
Block a user