You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey! I was wondering if should I create a custom translator in order to preserveWhitespace for code blocks.
As for now, code blocks are missing whitespaces on the new line, here is the current result that I'm getting.
publicasyncwriteFile(filePath: string,contents: string){writeFile(filePath,data,err=>{if(err){throwerr;}console.log("JSON data is saved.");});}
or should we add a new case statement for the code block in the visitNode method?
The text was updated successfully, but these errors were encountered:
Hey! I was wondering if should I create a custom translator in order to
preserveWhitespace
forcode
blocks.As for now, code blocks are missing whitespaces on the new line, here is the current result that I'm getting.
or should we add a new case statement for the code block in the
visitNode
method?The text was updated successfully, but these errors were encountered: