obsidian-execute-code icon indicating copy to clipboard operation
obsidian-execute-code copied to clipboard

Refactoring the Settings

Open twibiral opened this issue 2 years ago • 0 comments

(Continuation from #268 )

Add an interface like below for each language with only path required. If args or inject doesn't exist, assume it is "" and if fileExtension doesn't exist, assume it is the same as the language etc. Maybe interactive should be required, but the idea is pretty similar. Let me know!

export interface LanguageSettings { path: string; args?: string; fileExtension?: string; inject?: string; interactive?: boolean; embedPlot?: boolean; useMain?: boolean; }

twibiral avatar Oct 29 '23 20:10 twibiral