Package: obs2mk
The script can be use :Directly in Obsidian, usingObsidian Shell Commands(seeObsidian shell configuration)In aterminal.The supported system are :macOS, Linux and WindowsIOS(withPytoand/ora-shellwithWorking Copy)Script's ConfigurationAt the first run, you will be asked to configure some key and specific path.Vault : Use the file dialog to choose your vault folder.Publish repository folder :  As vault path, use the file dialog.share : You can change thesharekey. By default, it'sshareIndex key: Support for citation of [[../Template - The blog/customization and css#folder-note|pagination index pages]]. By default, it uses(i)Default blog folder: By default, the notes will be indocs/notesbut you can change that, or use/for root.CommandsGlobal options :--git: No commit and push to git ;--mobile: Use mobile shortcuts instead of--git--meta: Update frontmatter of source files--keep: Don't delete files in blog folder--shell: Remove Rich printingCommands and specific options :config: (it will ignore--use configuration_name)--new configuration_name: Create a specific configuration for some filesall: Share all vault--force: Force updating (ignore the difference between the source and blog file)--vault: Share all vault file, ignoring the share state.file [file]: Share only one fileusage:__main__.py[-h][--mobile|--git][--meta][--keep][--useconfiguration_name]{config,all,file}...

positionalarguments:{config,all,file}configConfigurethescript:Addoredityourvaultandblogabsolutepath,changesomekeys.allPublishmultiplefilesfilePublishonlyonefile

options:-h,--helpshowthishelpmessageandexit--mobile,--shortcutsUsemobileshortcuts,withoutpush--git,--g,--GNocommitandnopushtogit--meta,--m,--MUpdatethefrontmatterofthesourcefile,addingthenoteblog'slink--keep,--k,--KKeepdeletedfilefromvaultandremovedsharedfile--useconfiguration_name,--configconfiguration_nameUseadifferentconfigfromdefaultThe commands order is :obs2mk (global_options) [all|config|file FILEPATH] (specific_options)Where :Global and specific options are optionalall,configandfile[^1] are required
You can use the command without argument withobs2mkto share everyshare: truefile in your vault.Share one file :obs2mk file FILEPATHIt will :Update thesharestate in original fileConvert one file, regardless of what is thesharestate.Share all file :obs2mk allorobs2mkYou can share multiple documents at once with scanning your Vault, looking for theshare: true. It will convert automatically these files.Only file with modification since the last sharing will be updated.You can :Share entirely your vault (that's ignore thesharestate) with :obs2mk all --vaultIgnore the difference between the source file and the blog's file with :obs2mk all --forceAlso, you can combine the two options.Multiple configurationsYou can use and create multiple configuration files. This allows to have multiple site based on one vault, or different vault accross one site...To create a new configuration file :obs2mk config --new configuration_nameTo use a configuration use :--use configuration_nameFor example :obs2mk --use configuration_nameSee [[configuration template]] for more information about the configuration file.NavigationObsidian PluginPython packageTemplate[^1]: Forfileyou need to add the filepath of the file you want to share :obs2mk (global_option) file "filepath" (specific_options)