()
| 51 | return; |
| 52 | } |
| 53 | getState(): any { |
| 54 | const state = super.getState(); |
| 55 | state.file = this.file?.path; |
| 56 | // Store information to the state, whenever the workspace changes (opening a new note,...), the view's `getState` will be called, and the resulting state will be saved in the 'workspace' file |
| 57 | |
| 58 | return state; |
| 59 | } |
| 60 | |
| 61 | openPathInViewer = async (path: string) => { |
| 62 | const htmlPath = transformPath( |
nothing calls this directly
no outgoing calls
no test coverage detected