markdown-toc icon indicating copy to clipboard operation
markdown-toc copied to clipboard

`--no-firsth1` puts 'undefined' in front and end "%" of TOC output

Open skywinder opened this issue 7 years ago • 2 comments

markdown-toc --no-firsth1 README.md here is file to test: https://github.com/matterinc/web3swift/blob/develop/README.md

--no-firsth1 puts 'undefined' in front and end "%" of TOC output #131

Expected result:

web3swift

  • Features:
  • Design decisions
  • Example
  • Installation
    • Requirements
    • CocoaPods
  • Getting started
    • Create Account
    • Save keystore to the memory
    • Initializing Ethereum address
    • Setting options
    • Encoding Transaction
    • Signing Transaction
    • Getting ETH balance
    • Getting gas price
    • Sending ETH
    • ERC20 Iteraction:
      • Getting ERC20 token balance
      • Sending ERC20
  • Apps using this library
  • Plans
    • Extra features:
  • Stay in touch
    • Contribution
    • Communication
    • Special thanks to
  • Authors
  • License

Actual result:

undefined web3swift

  • Features:
  • Design decisions
  • Example
  • Installation
    • Requirements
    • CocoaPods
  • Getting started
    • Create Account
    • Save keystore to the memory
    • Initializing Ethereum address
    • Setting options
    • Encoding Transaction
    • Signing Transaction
    • Getting ETH balance
    • Getting gas price
    • Sending ETH
    • ERC20 Iteraction:
      • Getting ERC20 token balance
      • Sending ERC20
  • Apps using this library
  • Plans
    • Extra features:
  • Stay in touch
    • Contribution
    • Communication
    • Special thanks to
  • Authors
  • License%

skywinder avatar Sep 30 '18 01:09 skywinder

Dupe of #42 ?

rendaw avatar Apr 23 '19 10:04 rendaw