Skip to content

Conversation

@pourmand1376
Copy link

@pourmand1376 pourmand1376 commented Nov 18, 2022

I use git to sync my note and configuration files between windows and android. Since json file is now stored without any newlines, git merge can not automatically resolve merge conflicts.

I used a little config when saving json file(+). This way also the file looks cleaner and there is no compatibility issues.

Example:

{
	"fileDirections": {
		"obsidian-notes/Goals and Planning/General Goals.md": "rtl",
		"obsidian-notes/Home/My tasks.md": "rtl",
	},
	"defaultDirection": "ltr",
	"rememberPerFile": true,
	"setNoteTitleDirection": true,
	"setYamlDirection": false
}

@pourmand1376 pourmand1376 changed the title convert from JSON to YAML Save JSON file in a more cleaner way Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant