-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
Description
Hello,
I discovered a problem on the converter mediawiki to gfm
Pandoc version (MacOS X)
pandoc 3.6
Features: +server +lua
Scripting engine: Lua 5.4
Source mediawiki
All addresses generated with this scheme will have a constant length, with 36 digits for 20-byte and 53 digits for 32-byte. Different witness program versions will have a unique prefix, as shown in the following table:
{|class="wikitable" style="text-align: center;"
|-
!rowspan=3 style=""|Witness program version
!colspan=4 style=""|Hash size
|-
!colspan=2 style=""|20-byte (36 characters)
!colspan=2 style=""|32-byte (53 characters)
|-
!Mainnet
!Testnet
!Mainnet
!Testnet
|-
|0||p2||QW||7Xh||T7n
|-
|1||p4||QY||7Xq||T7w
|-
|2||p6||Qa||7Xz||T85
|-
|3||p7||Qc||7Y9||T8E
|-
|4||pA||Qe||7YH||T8N
|-
|5||pB||Qf||7YS||T8X
|-
|6||pD||Qh||7Ya||T8g
|-
|7||pF||Qj||7Yj||T8p
|-
|8||pG||Qm||7Yt||T8y
|-
|9||pJ||Qn||7Z2||T97
|-
|10||pL||Qp||7ZB||T9G
|-
|11||pN||Qr||7ZK||T9Q
|-
|12||pQ||Qt||7ZU||T9Z
|-
|13||pS||Qv||7Zc||T9i
|-
|14||pT||Qw||7Zm||T9r
|-
|15||pV||Qy||7Zv||TA1
|-
|16||pX||R1||7a4||TA9
|-
|}
I run this command to transform my mediawiki file to a md file
pandoc -f mediawiki -t gfm ./test.mediawiki -o ./gfm-file.md
The error result is the following
Error at "./test.mediawiki" (line 5, column 12):
unexpected 's'
!rowspan=3 style=""|Witness program version
^
it's the same error for the next line !colspan=4 style=""|Hash size