Features – 特征区块链毕设代写

区块链毕设代写本文提供国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,Features – 特征区块链毕设代写 是一篇很好的国外资料

Documentation generator for Solidity with a literary bent.

Features

  • Comments and code side-by-side
  • Markdown in comments
  • Contract code around an area
  • TOC navigation bar

Install

npm install solcco

Usage

tl;dr

CLI

npx -w solcco file 

will output the documented version of file in out.html.

Library use

const solcco = require('solcco')({level: 3 /* max. heading level for toc */}); solcco.level = 1; // Changing your mind? const html = solcco.run("/* # Heading */n Struct s { uint s; }"); 

How to format comments

  • use markdown anywhere in comments
  • /* */ blocks for full paragraphs
  • whole-line // comments for quick annotations

More info

CLI

npx solcco --help for more options

File Hello.sol:

/* Compiler version must be greater than or equal to 0.6.10 and less than 0.7.0 */ pragma solidity ^0.6.10;  /* # Hello, World.    The canonical hello world example */  contract HelloWorld {     // make accessible     string public greet = "Hello World!"; } 

Then

npx solcco -f Hello.html Hello.sol 

Outputs the following Hello.html.

How-to

  • // comments with not just whitespace to their left are not interpreted.
  • Special commands look like this: //+<command>+:
  • //+clear+ to force push an empty code block.
  • //+ignore+<anything here> to leave a line comment unintepreted.
  • Spaces at the beginning of lines in comment blocks (/* */) are ignored up to the position of the initial /*+3, so that Markdown’s indentation-sensitivity and code block indents work well together.

References

This style was initiated (I think) by Docco. There are versions of this for plenty of languages at the link.


Documentation generator for Solidity with a literary bent.

Features

  • Comments and code side-by-side
  • Markdown in comments
  • Contract code around an area
  • TOC navigation bar

Install

npm install solcco

Usage

tl;dr

CLI

npx -w solcco file 

will output the documented version of file in out.html.

Library use

const solcco = require('solcco')({level: 3 /* max. heading level for toc */}); solcco.level = 1; // Changing your mind? const html = solcco.run("/* # Heading */n Struct s { uint s; }"); 

How to format comments

  • use markdown anywhere in comments
  • /* */ blocks for full paragraphs
  • whole-line // comments for quick annotations

More info

CLI

npx solcco --help for more options

File Hello.sol:

/* Compiler version must be greater than or equal to 0.6.10 and less than 0.7.0 */ pragma solidity ^0.6.10;  /* # Hello, World.    The canonical hello world example */  contract HelloWorld {     // make accessible     string public greet = "Hello World!"; } 

Then

npx solcco -f Hello.html Hello.sol 

Outputs the following Hello.html.

How-to

  • // comments with not just whitespace to their left are not interpreted.
  • Special commands look like this: //+<command>+:
  • //+clear+ to force push an empty code block.
  • //+ignore+<anything here> to leave a line comment unintepreted.
  • Spaces at the beginning of lines in comment blocks (/* */) are ignored up to the position of the initial /*+3, so that Markdown’s indentation-sensitivity and code block indents work well together.

References

This style was initiated (I think) by Docco. There are versions of this for plenty of languages at the link.

部分转自网络,侵权联系删除区块链源码网

www.interchains.cc

https://www.interchains.cc/20273.html

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 ! QQ3039046426
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » Features – 特征区块链毕设代写

提供最优质的资源集合

立即查看 了解详情