Standardizes terminology and error handling
Corrects capitalization inconsistencies in UI and documentation, improving clarity and professionalism. Enhances error handling in the image download function by properly rejecting promises on errors, thus increasing reliability and maintainability. Relates to obsidian-bot-review branch tasks.
This commit is contained in:
7 files changed
+27
-29
No files matched your search
@@ -162,9 +162,9 @@ export class ExportOrchestrator {
|
||||
cls: 'mod-warning'
|
||||
});
|
||||
cancelButton.addEventListener('click', () => this.cancelExport());
|
||||
progressNotice.setMessage('Preprocessing markdown content...');
|
||||
progressNotice.setMessage('Preprocessing Markdown content...');
|
||||
|
||||
// Preprocess markdown
|
||||
// Preprocess Markdown
|
||||
const preprocessor = new MarkdownPreprocessor({
|
||||
vaultPath: vaultPath,
|
||||
options: {
|
||||
@@ -322,7 +322,7 @@ export class ExportOrchestrator {
|
||||
const markdownFiles = folder.children.filter((file) => this.plugin.isMarkdownFile(file));
|
||||
|
||||
if (markdownFiles.length === 0) {
|
||||
new Notice('No markdown files found in this folder');
|
||||
new Notice('No Markdown files found in this folder');
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user