mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
17 lines
325 B
TypeScript
17 lines
325 B
TypeScript
|
import { MarkupToHtmlOptions } from './types';
|
||
|
|
||
|
export default (override: MarkupToHtmlOptions = null): MarkupToHtmlOptions => {
|
||
|
return {
|
||
|
plugins: {
|
||
|
checkbox: {
|
||
|
checkboxRenderingType: 2,
|
||
|
},
|
||
|
link_open: {
|
||
|
linkRenderingType: 2,
|
||
|
},
|
||
|
},
|
||
|
replaceResourceInternalToExternalLinks: true,
|
||
|
...override,
|
||
|
};
|
||
|
};
|