1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-02-22 12:58:26 +00:00

test(syntax): Generate normal highlight for bat

This commit is contained in:
BANO.notIT 2022-10-22 17:06:27 +03:00
parent 1a85b4c3b5
commit 316f1b3601

View File

@ -1,65 +1,65 @@
Rule 1.1: Priority Rule 1.1: Priority
/// Should have priority /// /// Should have priority ///
(A) Thank Mom for the meatballs @phone (A) Thank Mom for the meatballs @phone
(B) Schedule Goodwill pickup +GarageSale @phone (B) Schedule Goodwill pickup +GarageSale @phone
/// Should not have priority /// /// Should not have priority ///
Really gotta call Mom (A) @phone @someday Really gotta call Mom (A) @phone @someday
(b) Get back to the boss (b) Get back to the boss
(B)->Submit TPS report (B)->Submit TPS report
Rule 1.2: Creation date Rule 1.2: Creation date
/// Date should be after priority /// /// Date should be after priority ///
2011-03-02 Document +TodoTxt task format 2011-03-02 Document +TodoTxt task format
(A) 2011-03-02 Call Mom (A) 2011-03-02 Call Mom
/// Should not have creation date /// /// Should not have creation date ///
(A) Call Mom 2011-03-02 (A) Call Mom 2011-03-02
Rule 1.3: Context and Projects  Rule 1.3: Context and Projects 
/// Contexts and projects can appear anywhere /// /// Contexts and projects can appear anywhere ///
(A) Call Mom +Family +PeaceLoveAndHappiness @iphone @phone to celebrate! (A) Call Mom +Family +PeaceLoveAndHappiness @iphone @phone to celebrate!
/// No context /// /// No context ///
Email SoAndSo at soandso@example.com Email SoAndSo at soandso@example.com
/// No project /// /// No project ///
Learn how to add 2+2 Learn how to add 2+2
Rule 2.1: Completed task Rule 2.1: Completed task
/// Complete task /// /// Complete task ///
x 2011-03-03 Call Mom x 2011-03-03 Call Mom
x With @contexts +projects and key:value x With @contexts +projects and key:value
/// Not completed tasks /// /// Not completed tasks ///
xylophone lesson xylophone lesson
X 2012-01-01 Make resolutions X 2012-01-01 Make resolutions
(A) x Find ticket prices (A) x Find ticket prices
Rule 2.2: Completion date Rule 2.2: Completion date
/// Only completion date is valuable /// /// Only completion date is valuable ///
x Completion date is optional x Completion date is optional
x 2022-10-21 But you can specify it x 2022-10-21 But you can specify it
x 2011-03-02 2011-03-01  x 2011-03-02 2011-03-01 
Additional definition Additional definition
/// Properties /// /// Properties ///
Decide on present for Mom due:2022-01-01 pri:1 Decide on present for Mom due:2022-01-01 pri:1
Unspecified Unspecified
/// Delayed tasks with WAIT keyword /// /// Delayed tasks with WAIT keyword ///
WAIT for @Patric to finish his task with +program WAIT for @Patric to finish his task with +program