Function Repository Resource:

CreditedDemonstration

Source Notebook

Insert a demonstration into a notebook, including links to the title, author and Manipulate code

Contributed by: Paul Abbott

ResourceFunction["CreditedDemonstration"][demo]

returns the Wolfram Demonstration demo into the current notebook along with links to the title, author and Manipulate code.

Details

The first argument to ResourceFunction["CreditedDemonstration"] must be either a Wolfram Demonstration Entity expression or a standard name of such an Entity.

Examples

Basic Examples (2) 

Insert into this notebook using its string name:

In[1]:=
ResourceFunction["CreditedDemonstration"]["TriangleCentroid"]
Out[1]=

One can insert demonstrations directly into a notebook as follows:

In[2]:=
Entity["WolframDemonstration", "ElectricDipolePotential"][
 EntityProperty["WolframDemonstration", "Manipulate"]]
Out[2]=

Get the same Manipulate along with the name and author links:

In[3]:=
ResourceFunction["CreditedDemonstration"][
 Entity["WolframDemonstration", "ElectricDipolePotential"]]
Out[3]=

Scope (2) 

Use free-form input to find and generate input in the required format for CreditedDemonstration:

Out[4]=

Obtain the current EntityList of all Wolfram Demonstrations in lexicographical order:

In[5]:=
demonstrations = EntityList["WolframDemonstration"];

View the last of these:

In[6]:=
ResourceFunction["CreditedDemonstration"]@demonstrations[[-1]]
Out[6]=

Possible Issues (1) 

Some demonstrations can take some time to load:

In[7]:=
ResourceFunction["CreditedDemonstration"][
 Entity["WolframDemonstration", "15PointProjectiveSpace"]]
Out[7]=

Publisher

Paul Abbott

Requirements

Wolfram Language 13.0 (December 2021) or above

Version History

  • 1.0.0 – 19 July 2023

Source Metadata

Related Resources

License Information