cortav  Diff

Differences From Artifact [648cf1722d]:

To Artifact [940c3efd41]:


   794    794   			}
   795    795   		end};
   796    796   		{seq = '>', parse = insert_link};
   797    797   		{seq = '→', parse = insert_link};
   798    798   		{seq = '🔗', parse = insert_link};
   799    799   		{seq = '##', parse = insert_var_ref(true)};
   800    800   		{seq = '#', parse = insert_var_ref(false)};
   801         -		{seq = '%%', parse = function() --[[NOP]] end};
          801  +		{seq = '%%', parse = function (s,c)
          802  +			local com = s:match '^%%%%%s*(.*)$'
          803  +			return {
          804  +				kind = 'comment';
          805  +				comment = com;
          806  +			}
          807  +		end};
   802    808   		{seq = '%!', parse = insert_span_directive(true,false)};
   803    809   		{seq = '%:', parse = insert_span_directive(false,true)};
   804    810   		{seq = '%', parse = insert_span_directive(false,false)};
   805    811   	}
   806    812   end
   807    813   
   808    814   function ct.parse_span(str,ctx)