DrewBrasher.OrchardCore.ExternalData
1.0.1
dotnet add package DrewBrasher.OrchardCore.ExternalData --version 1.0.1
NuGet\Install-Package DrewBrasher.OrchardCore.ExternalData -Version 1.0.1
<PackageReference Include="DrewBrasher.OrchardCore.ExternalData" Version="1.0.1" />
paket add DrewBrasher.OrchardCore.ExternalData --version 1.0.1
#r "nuget: DrewBrasher.OrchardCore.ExternalData, 1.0.1"
// Install DrewBrasher.OrchardCore.ExternalData as a Cake Addin #addin nuget:?package=DrewBrasher.OrchardCore.ExternalData&version=1.0.1 // Install DrewBrasher.OrchardCore.ExternalData as a Cake Tool #tool nuget:?package=DrewBrasher.OrchardCore.ExternalData&version=1.0.1
External Data Module
An Orchard Core CMS module to embed the content of external URLs in Markdown or HtmlBody, with a shortcode.
NuGet Package
Usage
You should only embed content like this for URLs that you have full control over.
Getting Started
- Add a reference to this module(
DrewBrasher.OrchardCore.ExternalData
) in your web application. - Enable the "External Data" feature in the Orchard Core Admin UI.
External Content Shortcode
A shortcode for embedding the content of external URLs in Markdown or HtmlBody.
[external_content url='https://...' renderMode='MarkdownToHtml'][/external_content]
Arguments:
- url: The url of the external content
- renderMode (optional): How to render the content. Defaults to raw data if not specified.
Supported values:
- MarkdownToHtml: Renders markdown from the external source as HTML.
Example:
If you have a markdown file on GitHub with the url https://{YourGitHubRepoUrl}/readme.md
that you would like to include in your Orchard Core blog post, you could put the shortcode in the MarkdownBody of your blog post:
[external_content url='https://{YourGitHubRepoUrl}/readme.md' renderMode='MarkdownToHtml'][/external_content]
The contents of the readme.md file would be rendered to HTML along with the rest of the MarkdownBody of your blog post.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net8.0
- OrchardCore.ContentManagement (>= 1.8.3)
- OrchardCore.ContentTypes.Abstractions (>= 1.8.3)
- OrchardCore.DisplayManagement (>= 1.8.3)
- OrchardCore.Markdown.Abstractions (>= 1.8.3)
- OrchardCore.Module.Targets (>= 1.8.3)
- OrchardCore.Shortcodes.Abstractions (>= 1.8.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Updated readme and description