I need to display the words in italic within the editor. How can I do that? I didn't find how to set this in the IStandaloneEditorConstructionOptions
options when passing it to create
only how to specify that with defineTheme()
like that:
monaco.editor.defineTheme('placeHolderTheme', { base: 'vs-dark', inherit: false, rules: [ { token: 'my-token', foreground: '#311b92', fontStyle: 'italic' }, colors: {"editor.background": "#2B2B2B",'editor.foreground': '#FFFFFF', }});
but I do need to set the whole text at once. How can do that?