Skip to content Search Apps Documentation Source Content File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

ipfstest.gno

0.38 Kb · 9 lines
1// Package ipfstest renders one image linked as ipfs://, to check that gnoweb
2// loads such links through its IPFS gateway.
3package ipfstest
4
5func Render(_ string) string {
6	return "# IPFS gateway check\n\n" +
7		"The image below is linked as `ipfs://`; gnoweb loads it through its gateway.\n\n" +
8		"![Test image](ipfs://bafybeigdyrzt5sfp7udm7hu76uh7y26nf3efuylqabf3oclgtqy55fbzdi)\n"
9}