Comments (5)
/cc-ing @sywhb I believe this was an issue with Logseq's plugin api not being able to create the child block.
from logseq-omnivore.
I tried to achieve the same, I couldn't, it seems no matter what happens they will end up in the same block.
For now I just changed the ordering so it's:
{{#note.length}}{{{note}}}{{/note.length}}
> {{{text}}} [⤴️]({{{highlightUrl}}}) {{#labels}} #[[{{{name}}}]] {{/labels}}
That way my note pops out more and easier to read "my note -> reference".
from logseq-omnivore.
I'm, trying to accomplish the same. It seems 6ee5090 removed that behaviour and it was released as part of 1.12.5.
I can't find any explanation about why the change was made but it would be a really nice feature to bring back as an option in settings. Ideally we could dictate blocks ourselves in the templates but that seems like a much bigger ask.
from logseq-omnivore.
yeah, logseq does not allow us to create nested blocks when generating the content from the template
from logseq-omnivore.
That's fair. Can we add a third template in the settings for highlight notes that can be optionally defined?
If there is a template defined then the nested child block is created. Otherwise the nested child isn't.
It can be on the user to make sure they remove the note
variable from their highlight template if they don't want to see the note duplicated.
It seems block content is less particular about the characters used than property values are. This change might also mitigate #176 🤷.
from logseq-omnivore.
Related Issues (20)
- Version 1.14.0 does not work HOT 11
- Settings schema Error! HOT 4
- request: make article content collapsed by default or give the choice HOT 1
- Setting `headingBlockTitle` to empty generates extra asterisks HOT 7
- Failed to fetch HOT 6
- Omnivore plugin stopped working in logseq version 0.10.0 HOT 3
- Synchronization with Logseq not working HOT 23
- 页面引用中文章内容和高亮内容无法默认折叠
- Put syncAt config field in separate config file HOT 3
- Article and Highlight template `note` variable breaks template with complex text HOT 1
- failed to fetch articles HOT 1
- Articles fail to import when isSinglePage set to false HOT 7
- FeatureRequest/HelpNeeded: highlight is not an exact subset of the text content HOT 4
- Sync always seems to get stuck at article 449
- Bug: the addon always start disabled / crash on startup
- Brackets added automatically to dates on import HOT 2
- Logfile? I get permanently "failed to fetch articles" error HOT 12
- When importing omnivore highlights into Logseq using Omnivore plugin, apostrophes become "'"
- android: new layout wastes a lot of space on landscape mode
- ## 🔖 article always appears again
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 logseq-omnivore.