Skip to content

A Github page central snippet repo. Accessible through experimental CentralSnippets add-on library.

License

Notifications You must be signed in to change notification settings

Pure-the-Language/CentralSnippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CentralSnippets

A Github page central snippet repo. Accessible through experimental CentralSnippets add-on library. This repo is available on Github.

Access to this repo is implemented inside the CentralSnippets standard library.

Rules

Anyone is welcome to contribute!

  • For non-official snippets, consider putting them in folder structure like Snippets/Spaces/@<Contributor-Name>, e.g. Spaces/@Charles-Zhang/MyFirstScript.cs and modify `` variable to point to your site.
  • Snippets should be self-contained and generally short and may import other libraries.
  • Snippets should NOT depend on other snippets.
  • Users of snippets should be aware of the dynamic nature of snippets and that their contents and paths may change at any time.

Usage

In Pure:

Import(CentralSnippets)
Pull("Markdown/BuildToC", disableSSL: false);

To use another repo/develop locally:

Import(CentralSnippets)
SnippetsHostSite = @"C:\GithubProjects\CentralSnippets";
Preview("Markdown/BuildToC");

During development and for local use, one can also make use of PUREPATH environment variable: point PUREPATH to local/path/to/CentralSnippets/Snippets, then do pure Demos\HelloWorld.cs.

About

A Github page central snippet repo. Accessible through experimental CentralSnippets add-on library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages