Skip to content

Listen to 'url' query param - #2

Merged
farnots merged 1 commit into
farnots:masterfrom
charmsRace:url-query-param
Jun 1, 2024
Merged

farnots merged 1 commit into
farnots:masterfrom
charmsRace:url-query-param

Conversation

@charmsRace

Copy link
Copy Markdown

Actually I ended up just doing this since it was easier than I thought. It works via a query param in the url so you can go to e.g.

file:///C:/Users/username/git/RedditToMarkdown/index.html?url=https://www.reddit.com/r/ObsidianMD/comments/p2tioh/save_reddit_posts_to_obsidian

and it will figure that out and show the export 😊

(apologies for my automatic formatting making a big diff, feel free to not merge it or replicate the changes in the initial style)

@farnots farnots self-assigned this Jun 1, 2024
@farnots

farnots commented Jun 1, 2024

Copy link
Copy Markdown
Owner

Hello @charmsRace, thanks a lot for your PR. It's working great and it's a nice feature. Thanks for your work
(sorry for the super late review)

@farnots
farnots merged commit 6d47f1b into farnots:master Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants