Giter VIP home page Giter VIP logo

quoth's People

Contributors

erykwalder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

zsn-17

quoth's Issues

Request: Please enable quoth content definitions.

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

Issue with extended file type support and display:embedded link

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

[FR] Clickable Title

Feature Request:

Make the title clickable, directing to the source of the embed.

[Feature Request] Regex to select text

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

Specific Example


FILENAME

  • Nothing cool up here
  • something cool below
    • Things are awesome
  • something unrelated
  • more unrelated

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)

Failing to Load on Mobile

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.

Paragraph+List Block Transclusions: Making 'ranges' less fragile

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).

inline does not work for me (on desktop windows)

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. 

[Feature Request] - embed from multiple files

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

[Feature request] Don't show block title

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

[Feature request] Live Preview support needed

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.

[Feature Request] Establish a bi-directional links with the referenced document.

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.