erykwalder / quoth Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hi there, I recently made a FR that is very related to what this plugin provides, and thought to share it here: https://forum.obsidian.md/t/paragraph-list-block-transclusions/69841. Quoth looks very neat and I may use it to solve my issue (I especially love the inline vs. embed rendering) but the fact that embed link 'blocks' might break if you edit the source material (based on ranges: "start of para" to "to the end"
) might make it too fragile for me (similar to the headings-link updating problem)).
I was wondering if the author might have any insight on how to solve this or if there is a way to use Quoth with a less fragile selection method than ranges
to prevent breakage if you modify the source. For example, having Obsidian-like start/end range markers like ^abcdef
or ^q-abcd
which are already rendered tiny to be out of the way but are more recognizable and thus not as likely to accidentally delete (and also indicators that this text is/was referenced).
For case where you have multiple files with the same structure, it would be nice to aggreagate across multiple files like a query.
Example with 3 files together.
2022-01-31
- Nothing cool up here
- something cool below
- Things are awesome
- something unrelated
- more unrelated
2022-02-01
- Nothing cool up here
- something cool below
- Things are awesome2
- something unrelated
- more unrelated
2022-02-03
- Nothing cool up here
- something cool below
- Things are awesome3
- something unrelated
- more unrelated
path:
- [[2022-01-31#-something cool below]]
- [[2022-02-01#-something cool below]]
- [[2022-02-03#-something cool below]]
display: embedded
join: "- "
would render as
- Things are awesome
- Things are awesome2
- Things are awesome3
The official block reference in Obsidian automatically establishes a bidirectional link. Is it possible for "quoth" to establish a bidirectional link while creating a reference, or provide an option to do so? This would better integrate with Obsidian's bidirectional linking system. Currently, only a one-way link is provided.
In a quoth the file name is 1 of the elements shown. When the note name changes references to that note in other notes are amended automatically, but not in a quoth.
Please enable quoth content definitions, such as
type: code, or type:c++
or perhaps
--Using apostrophes here to represent back quotes--
'''quoth c++
path:[[Files/CodeExample.cpp]]
'''
'''quoth js
path:[[Files/EasyExample.js]]
'''
allowing quoth to display, using the built in code highlighting feature.
Thank you
Is it possible to add an indicator in the referred text showing that it is liked to a quoth and number of times it has been linked?
Looking forward to see what features you add :)
Feature Request:
Make the title clickable, directing to the source of the embed.
Thank you again for the extended file type support. It looks great, and is exceptionally useful.
Problem:
When clicking the link of a display:embedded non .md filetype, it creates a same named empty .md file instead of opening the embedded file in the default system app, or as text/etc.
Thank you
Something like
![[Pasted image 20230630230822.png|480]]
None of the following is supported in the "path":
E:\acc_1\h_sto\sto_it_ir\sto_sho\Obsidian\Vaults\sto_it_ir\user\Templates_Obsidian\upButton.md
E://acc_1//h_sto//sto_it_ir//sto_sho//Obsidian//Vaults//sto_it_ir//user//Templates_Obsidian//upButton.md
file://E%3A/acc_1/h_sto/sto_it_ir/sto_sho/Obsidian/Vaults/sto_it_ir/user/Templates_Obsidian/upButton.md
I use embeds/transclusions a lot, and this plug-in seems interesting. I have fully embraced Live Preview as that is the future anyway and I prefer it.
Please make your plug-in work in LP.
The range
specification and the line
specification have limited expressiveness when selecting text from embed.
It would be ideal to specify a regex or set of regexes to apply to the text and select out the information from the embed
FILENAME
The following query
file: [[FILENAME]]
ranges: "something cool below" to "something unrelated"
display: embedded
join: "- "
Will output to:
- something cool below
- Things are awesome
- something unrelated
instead of:
- Things are awesome
Ideally, we can subselect the bullets we want. (also bullet parsing functionality would generally be awesome as well)
When display mode is "embedded", the bidirectional linking in quote can't be open as in inline mode or the standard embed way.
Is this a bug?
I would write something like:
path: [[**somePage**]]
display: inline
ranges: "Word1" to "Word2)"
''' , some other text here.
I was hoping to get something like:
Word1 bla bla Word2, some other text here.
But I get:
Word1 bla bla Word2
, some other text here.
Hi, I do have the note (in a folder somewhere), so what do I do wrong?
path: [[2022-05-09]]
display: inline
I've got an issue where Quoth is failing to load on mobile (iOS, Obsidian Version 1.1.0 (37)).
The exact error message is (grabbed using Obsidian REPL):
Plugin failure: quoth
SyntaxError: Invalid regular expression: invalid group specifier name.
This is all i can get from this plugin. "Quoth block error: Cannot read property 'frontmatter' of undefined"
Hopefully just user error.
Thank you
If I embed "test#heading" it would be nice if there was an option to not show the heading in the embed, just the content after the heading. I've tried to use the 'after:' syntax but it doesn't seem to work for headings (or I'm misunderstanding it).
test.md
foobar
# Heading
this is a test
the following embed
path: [[test#Heading]]
heading: false
would show
this is a test
rather than
# Heading
this is a test
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.