Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quote from another page..... with a refresh. #1192

Open
jasonjac2 opened this issue Nov 29, 2023 · 2 comments
Open

Quote from another page..... with a refresh. #1192

jasonjac2 opened this issue Nov 29, 2023 · 2 comments
Labels
feature-request New feature or request

Comments

@jasonjac2
Copy link
Sponsor

Problem to Solve

I hate duplicating information in multiple places. I have to put a a note and a link saying "this information is duplicated keep it in sync".

New Feature/Solution

It would be good to have a plugin where you link to a para and include the "end token" which is basically any text an a refresh link.

When you refresh it, it grabs everything from the link end point to the text and inserts that immediately below the "quote command". You can refresh this at any point by pressing the refresh button.

If the text is identical, nothing is changed.

Alternative Solutions

As I said in the 1st line, I have a manual way of doing this.

Additional Context

Provide any other context or screenshots about the feature request here.

THE FINE PRINT This is a hobby project that I started for myself. I'm happy to take requests and will promise to
consider each one carefully but offer no guarantees that I will ultimately agree to their
usefulness or have time to implement any of them. If OneNote offers a "close enough" work-around
then I will probably reject the request - you've been warned!

@stevencohn
Copy link
Owner

So unlike the Embed Page command, you want to target just a specific paragraph?

A little background, the reason I did not do this initially and instead expanded it to the contents of an entire page is that a paragraph is somewhat vague. It's a fragile entity, easily broken up by carriage returns or even cut/paste. It could perhaps target a table, even a single-cell table like the OneMore Text Box. But again, I'm worried that it's too easily corrupted. Thoughts?

Repository owner deleted a comment from stevenmcohn Nov 29, 2023
@stevencohn stevencohn added the feature-request New feature or request label Nov 29, 2023
@jasonjac2
Copy link
Sponsor Author

yep, fuzziness is the hazard. So either go for something strict, like , but I think "until . It is fragile and I haven't used it in practice.
Quote: until "." refresh
Quote: until "newLine" refresh
Quote: until "some Text" refresh

So if it hits the end of the container without hitting the end terminator you get an error.
Maybe I haven't thought it through enough, maybe it should be more closely linked to the outline structure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants