Comments (3)
I understand the reason behind this ... However ... There are two pieces of complexity here:
- This plugin works by processing line-by-line. This would need to change if was to consider groups of lines together, and
- The plugin would need to consider "Is this next line part of this task OR is it a new line with indentation?". There's no way to know the intent of the user. Perhaps I could add some settings to let the user decide how things are processed.
I have a suggestion that may be silly, so I will write it out, and you let me know.
Here is a screenshot from Obsidian showing the same thing that you shared:
![image](https://private-user-images.githubusercontent.com/682893/303618949-76540590-cc8c-4774-bc8d-92ca8cf72590.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM4OTE5NTgsIm5iZiI6MTcyMzg5MTY1OCwicGF0aCI6Ii82ODI4OTMvMzAzNjE4OTQ5LTc2NTQwNTkwLWNjOGMtNDc3NC1iYzhkLTkyY2E4Y2Y3MjU5MC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODE3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxN1QxMDQ3MzhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hNTg2MDYyYTY0YWM2N2Y0NDc0Y2VlMDkyOWUxNDVhOGI2Njc1MzkwMjg5MDE0YWIyNWY5ZjhiM2Q1NTdhZGFhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.BY30Rp9CrBb1if3U3hSEVHlvmCvlu_XLjcMtm-hhKm4)
However, if we go to View
> Source Mode
the you will see that I have achieved this by using a HTML line break tag <br>
:
![image](https://private-user-images.githubusercontent.com/682893/303619281-e0f5a577-17ec-4060-b198-f56e6d7bab65.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM4OTE5NTgsIm5iZiI6MTcyMzg5MTY1OCwicGF0aCI6Ii82ODI4OTMvMzAzNjE5MjgxLWUwZjVhNTc3LTE3ZWMtNDA2MC1iMTk4LWY1NmU2ZDdiYWI2NS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODE3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxN1QxMDQ3MzhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05MzBiMjc1YWQwMDdiN2U4OTA0OWM2NGU0NjBiNGQ5YjFiNDZiMTU0YzQ5NWJlMWVjNGU4YTFmOTEzODZjNzg3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.tFeeplLT8ohFbP-Jsb68ZobMxJHhMywkAEWjHZZeOYg)
So my suggestion is:
The first line stays as the summary. If a <br>
tag is encountered, then the summary is everything left of the first <br>
tag, and the description is everything to the right of the first <br>
tag.
Example with many <br>
tags to demonstrate:
Event Summary: Do something
Event Description:
This would appear in the description.
This would also appear in the description.There are two line breaks which makes this a paragraph"
Please let me know your thoughts. Have a play around with typing <br>
into Obsidian so you can see how Obsidian behaves when you do this.
from obsidian-to-ical-plugin.
I understand the technical constraints and the need to work on a line...
Thanks for sharing your suggestions. I think the main problem arises if you insert dates in the line without grouping them in the same place.
Tasks and Dataview have more trouble interpreting it.
What if you used lightweight markup specific to the description... for example
- [ ] Test |d Some description here. Why not with two line <br> it could be cool ! d|
I don't know if it's a good solution... I'll have to think about it some more ;-)
from obsidian-to-ical-plugin.
Hi, @andrewbrereton
I hope you are well. I have not always had a miraculous idea for this problem. Could we try the proposal you made with
?
from obsidian-to-ical-plugin.
Related Issues (20)
- Add option to parse Dataview formatted tasks HOT 4
- (Feature) Unscheduled tasks HOT 17
- (review) Architecture, roles and cleanliness HOT 1
- (Architecure) Parameters as singleton HOT 2
- Test test test HOT 7
- AP_G HOT 3
- Add script to make versioning easier HOT 1
- Implement rfc 5545 3.1 content lines length limit
- (FR) Make the date adjust after completion HOT 2
- (idea) support task list filtering based on tags HOT 5
- [Feature Proposal] 5 functionalities I've implemented for consideration HOT 2
- Add setting to customise date format
- [Feature Request] Consider only tasks within a path
- Thunderbird / Evolution -- the link is not recognized
- [Feature Request] Prefer "scheduled date" option for export
- [Feature Request] Chose how to add tasks to calendar: only as todo items, only as events or both
- I ran the plugin once but now it doesnt recognise the existing ics file
- All schedules generated by plugin start from 00 : 00 HOT 5
- Not creating file or backing up to github HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-to-ical-plugin.