File tree Expand file tree Collapse file tree 5 files changed +32
-5
lines changed Expand file tree Collapse file tree 5 files changed +32
-5
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 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" ,
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"
Original file line number Diff line number Diff 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" ;
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments