The following doesn’t work. <<fen>> is not replaced by the parameter.
\whitespace trim
\procedure chess(fen)
[img[https://www.chess.com/dynboard?fen=<<fen>>&board=brown&piece=classic&size=1]]
\end
The following doesn’t work. <<fen>> is not replaced by the parameter.
\whitespace trim
\procedure chess(fen)
[img[https://www.chess.com/dynboard?fen=<<fen>>&board=brown&piece=classic&size=1]]
\end
There are several ways to do this:
\procedure chess(fen)
<$image source=`https://www.chess.com/dynboard?fen=$(fen)$&board=brown&piece=classic&size=1]]`/>
\end