mirror of
https://github.com/laurent22/joplin.git
synced 2026-10-25 02:47:28 +00:00
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
15 lines
358 B
TypeScript
15 lines
358 B
TypeScript
import Setting from '../models/Setting';
|
|
|
|
interface Script {
|
|
exec: ()=> Promise<void>;
|
|
}
|
|
|
|
const script: Script = <Script>{};
|
|
|
|
script.exec = async () => {
|
|
Setting.setValue('markdown.plugin.softbreaks', Setting.value('markdown.softbreaks'));
|
|
Setting.setValue('markdown.plugin.typographer', Setting.value('markdown.typographer'));
|
|
};
|
|
|
|
export default script;
|