我已经使用“ build”命令创建了一个文档。我尝试使用它的“注释”规则,但是在创建的文档的“源代码”选项卡的不同行中更改了字体颜色。
我的代码是:
pragma solidity ^0.4.19;
/// Import parent contract
/// The 'Ownable' contract which provides basic authorization control
import "./Ownable.sol";
/// @title Dispatcher Storage Contract
/// @author Fred Smith
contract DispatcherStorage is Ownable {
address public userLib;
address public orgLib;
address public transLib;
/// @notice Constructor of DispatcherStorage contract.
/// @dev Replace the the state variables of libraries to the latest
addresses
/// @param newUserLib The latest address of user Library
/// @param newOrgLib The latest address of organization Library
/// @param newTransLib The latest address of transaction Library
constructor(address newUserLib, address newOrgLib, address newTransLib)
public
{
replaceUser(newUserLib);
replaceOrg(newOrgLib);
replaceTrans(newTransLib);
}
/// @notice Replace new user lib address with the previous one
/// @param newUserLib The latest address of user Library
function replaceUser(address newUserLib) public onlyOwner {
userLib = newUserLib;
}
/// @notice Replace new org lib address with the previous one
/// @param newOrgLib The latest address of organization Library
function replaceOrg(address newOrgLib) public onlyOwner {
orgLib = newOrgLib;
}
/// @notice Replace new trans lib address with the previous one
/// @param newTransLib The latest address of transaction Library
function replaceTrans(address newTransLib) public onlyOwner {
transLib = newTransLib;
}
}
创建的文档为:
您能帮助我为所有文本使用普通的软字体颜色吗?
预先感谢