snazy commented on PR #786:
URL: https://github.com/apache/creadur-rat/pull/786#issuecomment-7095472404

   Thanks Philipp!
   
   The Markdown handling looks like the right direction.
   Inserting the license after the front matter should work, it doesn’t have to 
go inside the YAML as in the Jira example.
   
   One thing seems to be missing for AsciiDoc: Hugo uses the same 
YAML/TOML/JSON front matter for `.adoc` files too. The example in RAT-517 
applies to both Markdown and AsciiDoc.
   
   `AsciiDocLicenseEditor` handles native AsciiDoc titles and attributes, so an 
`.adoc` starting with `---` would still get the license inserted before its 
front matter.
   
   Could the front matter handling be shared between both editors, keeping the 
appropriate comment syntax for each format?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to