Skip to content

Commit 376b307

Browse files
committed
Update manifest for release.
1 parent 0a98996 commit 376b307

File tree

5 files changed

+32
-5
lines changed

5 files changed

+32
-5
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,21 @@
77
* @markdown-confluence/lib bumped from 3.0.4 to 3.0.0
88
* @markdown-confluence/mermaid-electron-renderer bumped from 3.0.4 to 3.0.0
99

10+
## [4.8.0](https://github.com/markdown-confluence/markdown-confluence/compare/obsidian-confluence-v4.7.5...obsidian-confluence-v4.8.0) (2023-04-30)
11+
12+
13+
### Features
14+
15+
* Add new setting to allow you to use the first heading as the page title. ([ec4e426](https://github.com/markdown-confluence/markdown-confluence/commit/ec4e426700d241c29f84ac25b28893f28f20a555))
16+
17+
18+
### Dependencies
19+
20+
* The following workspace dependencies were updated
21+
* dependencies
22+
* @markdown-confluence/lib bumped from 4.7.5 to 4.8.0
23+
* @markdown-confluence/mermaid-electron-renderer bumped from 4.7.5 to 4.8.0
24+
1025
## [4.7.5](https://github.com/markdown-confluence/markdown-confluence/compare/obsidian-confluence-v4.7.4...obsidian-confluence-v4.7.5) (2023-04-30)
1126

1227

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "confluence-integration",
33
"name": "Confluence Integration",
4-
"version": "4.7.5",
4+
"version": "4.8.0",
55
"minAppVersion": "1.0.0",
66
"description": "This plugin allows you to publish your notes to Confluence",
77
"author": "andymac4182",

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "obsidian-confluence",
3-
"version": "4.7.5",
3+
"version": "4.8.0",
44
"description": "This library allows you to publish your notes to Confluence",
55
"main": "main.js",
66
"type": "module",
@@ -32,8 +32,8 @@
3232
"react": "^16.14.0",
3333
"react-dom": "^16.14.0",
3434
"react-intl-next": "npm:react-intl@^5.18.1",
35-
"@markdown-confluence/lib": "4.7.5",
36-
"@markdown-confluence/mermaid-electron-renderer": "4.7.5"
35+
"@markdown-confluence/lib": "4.8.0",
36+
"@markdown-confluence/mermaid-electron-renderer": "4.8.0"
3737
},
3838
"resolutions": {
3939
"prosemirror-model": "1.14.3"

src/AdfView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export default class AdfView extends ItemView {
6666
}
6767

6868
const md = await this.adaptor.loadMarkdownFile(this.filePath);
69-
const adf = this.mdToAdf.convertMDtoADF(md).contents;
69+
const adf = this.mdToAdf.convertMDtoADF(md, this.settings).contents;
7070
const renderADF = this.convertMediaFilesToLocalPath(adf);
7171

7272
const locale = "en";

src/ConfluenceSettingTab.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,17 @@ export class ConfluenceSettingTab extends PluginSettingTab {
8484
await this.plugin.saveSettings();
8585
})
8686
);
87+
88+
new Setting(containerEl)
89+
.setName("First Header Page Name")
90+
.setDesc("First header replaces file name as page title")
91+
.addToggle((toggle) =>
92+
toggle
93+
.setValue(this.plugin.settings.firstHeadingPageTitle)
94+
.onChange(async (value) => {
95+
this.plugin.settings.firstHeadingPageTitle = value;
96+
await this.plugin.saveSettings();
97+
})
98+
);
8799
}
88100
}

0 commit comments

Comments
 (0)