• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ChordPro markup
#8
As you found out, there is no such thing as 'standard markdown'. Well, there is John Grubers original implementation but this is generally considered too limited. So there are many non-standard 'extended' versions (not unlike ChordPro). It seems that nowadays the GitHub extended version of markdown (GitHub Flavored Markdown, GFM) is very popular, but even GFM cannot change the text colour and highlighting unless you resort to its HTML extensions.

So for ChordPro we basically need to create our own markup, possibly a markdown-like variant. The only thing we want is to tweak in-line text appearance. Everything else (headers, paragraphs, lists, etc.) is not relevant for ChordPro. Since we are dealing with lyrics texts there is a much bigger choice of 'special characters' than in general purpose texts, but many different markup characters are hard to remember.

Personally, I'd still opt for something simple but flexible like {style text...} or <style text...>, where style is either predefined (e.g. em, strong, ul) or —in the case of the ChordPro application— one of the defined font styles. Multiple styles can be combined with +, e.g. <strong+em text...>.

What do you think?
Johan
johanvromans.nl — hetgeluidvanseptember.nl — mojore.nl -- howsagoin.nl
Samsung Galaxy Note S7FE (T733) 12.4", Android 13.0, AirTurn Duo & Digit (Gigs).
Samsung Galaxy Note S4 (T830) 10.5", Android 10.0 (maintenance and backup).
Samsung A3 (A320FL), Android 8.0.0 (emergency).
Reply


Messages In This Thread
ChordPro markup - by itsme - 06-20-2017, 08:55 PM
RE: ChordPro markup - by sciurius - 06-21-2017, 02:14 AM
RE: ChordPro markup - by itsme - 06-21-2017, 03:06 AM
RE: ChordPro markup - by sciurius - 06-21-2017, 04:53 AM
RE: ChordPro markup - by itsme - 10-31-2018, 06:13 PM
RE: ChordPro markup - by sciurius - 11-01-2018, 01:23 AM
RE: ChordPro markup - by itsme - 11-01-2018, 07:18 AM
RE: ChordPro markup - by sciurius - 11-01-2018, 06:48 PM
RE: ChordPro markup - by itsme - 11-01-2018, 07:13 PM
RE: ChordPro markup - by sciurius - 11-01-2018, 08:17 PM



Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.