add option to remove common indent from note body#500
Open
derrotebaron wants to merge 1 commit intoorgzly:masterfrom
Open
add option to remove common indent from note body#500derrotebaron wants to merge 1 commit intoorgzly:masterfrom
derrotebaron wants to merge 1 commit intoorgzly:masterfrom
Conversation
for example:
```
* foo
** bar
example content
deeper indent
```
will display `example content\n deeper indent` instead of
` example content\n deeper indent`.
This does not apply to the EditText, because it might confuse the user when
typing spaces at the beginning of a line, as they wouldn't show up if they are
part of a common indent.
Member
|
This is when I think this should be an option under "Settings / Sync / Org file format" and only done when parsing or writing to Org files. I don't think content should be changed within the app. It could be detected automatically too (currently done for planning times and properties when parsing), though that might not always work. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For example:
will display
instead of
as text of a note.
This does not apply to the EditText, because it might confuse the user when
typing spaces at the beginning of a line, as they wouldn't show up if they are
part of a common indent.
The reasoning behind this feature is, that indents in Emacs Org-Mode are by
default as deep as needed to match the text of the innermost subheading
that contains the body to be indented.