Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Convert gist frames to block code #39

Merged
merged 1 commit into from
Apr 26, 2022
Merged

Convert gist frames to block code #39

merged 1 commit into from
Apr 26, 2022

Conversation

miry
Copy link
Owner

@miry miry commented Apr 26, 2022

Manage to detect gist and download content inside block.
Example of gist https://gist.githubusercontent.com/miry/d7e8a19eb66734fb69cf8ee4c32095bc:

  ` ` `
  #!/usr/bin/env bash

  medup -u miry -d ./posts/miry          # Articles written by miry
  medup @miry -d ./posts/miry            # Alternative way to get articles written by miry
  medup -u miry -d ./posts/favorites -r  # Favorite articles of miry (clapped one)
  medup -u miry -d ./posts/miry --update # Update existing exported posts with latest versions of posts
  medup -u miry -d ./posts/miry --assets-images  # Save images to assets folder
  medup -p jetthoughts -d ./posts/jetthoughts # Export Jetthought publication's posts
  medup jetthoughts -d ./posts/jetthoughts # Alternative way to export Jetthought publication's posts
  medup https://medium.com/notes-and-tips-in-full-stack-development/medup-backups-articles-8bf90179b094 # Export single article
  medup https://jtway.co/git-minimum-for-effective-project-development-841a0b865ef0 # Export signle article with custom domain
  ` ` `
  [usage.sh view raw](https://gist.githubusercontent.com/miry/d7e8a19eb66734fb69cf8ee4c32095bc/raw/a577b9fc77074f182b16f869035c81a174542399/usage.sh)

@miry miry self-assigned this Apr 26, 2022
@miry miry force-pushed the gist-inline branch 2 times, most recently from bf04d9a to cf1551e Compare April 26, 2022 21:15
@miry miry marked this pull request as ready for review April 26, 2022 21:15
@miry miry force-pushed the gist-inline branch 2 times, most recently from 96aa1a3 to 07f9ee7 Compare April 26, 2022 21:34
@miry miry added the Feature label Apr 26, 2022
@miry miry added this to In progress in Medup Tasks via automation Apr 26, 2022
@miry miry moved this from In progress to Review in Medup Tasks Apr 26, 2022
Manage to detect gist and download content inside block.
Example of gist https://gist.githubusercontent.com/miry/d7e8a19eb66734fb69cf8ee4c32095bc:

```
  ```
  #!/usr/bin/env bash

  medup -u miry -d ./posts/miry          # Articles written by miry
  medup @miry -d ./posts/miry            # Alternative way to get articles written by miry
  medup -u miry -d ./posts/favorites -r  # Favorite articles of miry (clapped one)
  medup -u miry -d ./posts/miry --update # Update existing exported posts with latest versions of posts
  medup -u miry -d ./posts/miry --assets-images  # Save images to assets folder
  medup -p jetthoughts -d ./posts/jetthoughts # Export Jetthought publication's posts
  medup jetthoughts -d ./posts/jetthoughts # Alternative way to export Jetthought publication's posts
  medup https://medium.com/notes-and-tips-in-full-stack-development/medup-backups-articles-8bf90179b094 # Export single article
  medup https://jtway.co/git-minimum-for-effective-project-development-841a0b865ef0 # Export signle article with custom domain
  ```
  [usage.sh view raw](https://gist.githubusercontent.com/miry/d7e8a19eb66734fb69cf8ee4c32095bc/raw/a577b9fc77074f182b16f869035c81a174542399/usage.sh)

```
@miry miry merged commit 4626bb5 into master Apr 26, 2022
Medup Tasks automation moved this from Review to 2022 Completed Apr 26, 2022
@miry miry deleted the gist-inline branch April 26, 2022 21:41
@miry miry mentioned this pull request Apr 26, 2022
4 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
Medup Tasks
  
2022 Completed
Development

Successfully merging this pull request may close these issues.

None yet

1 participant