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

Add remote file support to includes shortcode #6

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

jtracey93
Copy link
Contributor

This pull request introduces a new shortcode template in the docs/layouts/shortcodes/include.html file to handle the inclusion of external resources and files with various options for rendering content.

Key changes:

  • Added variables to capture parameters for URL
  • Implemented logic to fetch and render content based on the provided URL or file, with support for syntax highlighting, HTML rendering, and page content inclusion.

Testing evidence

Screenshot 2024-11-27 100429

Screenshot 2024-11-27 100409

Screenshot 2024-11-27 100416

@jtracey93 jtracey93 added the enhancement New feature or request label Nov 27, 2024
@matt-FFFFFF matt-FFFFFF merged commit 9ee1b8b into main Nov 27, 2024
3 checks passed
@matt-FFFFFF matt-FFFFFF deleted the users/jtracey93/feat/include-external-shortcode branch November 27, 2024 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants