The overall syntax is like this. The block’s first line must start with %!
%! <mode declaration>
% Markdown
% @key nodes
You can simply see what do did using this command line. That should open a browser on the file’s overview page.
swipl --pldoc myfile.pl