File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 5
5
import arrow
6
6
import itertools
7
7
import json
8
- import pycmarkgfm
8
+ import cmarkgfm
9
9
import pypugjs
10
10
import re
11
11
import sys
39
39
d ["messageBody" ] = "\n " .join (d ["messageBody" ].splitlines ()[0 :- 1 ])
40
40
if "PiperOrigin-RevId" in d ["message" ]:
41
41
d ["message" ] = "\n " .join (d ["message" ].splitlines ()[0 :- 1 ])
42
- record ["commit_body" ] = pycmarkgfm . gfm_to_html (d ["messageBody" ])
43
- record ["commit_message" ] = pycmarkgfm . gfm_to_html (d ["message" ])
42
+ record ["commit_body" ] = cmarkgfm . github_flavored_markdown_to_html (d ["messageBody" ])
43
+ record ["commit_message" ] = cmarkgfm . github_flavored_markdown_to_html (d ["message" ])
44
44
record ["date_human" ] = record ["date" ].to ('US/Pacific' ).format ("ddd, MMM D [at] h:mma ZZZ" )
45
45
if d ["statusCheckRollup" ] is None :
46
46
continue
126
126
js = f .read ()
127
127
128
128
with open ("help.md" , "r" ) as f :
129
- helptext = pycmarkgfm . gfm_to_html (f .read ())
129
+ helptext = cmarkgfm . github_flavored_markdown_to_html (f .read ())
130
130
131
131
env = Environment (
132
132
loader = FileSystemLoader ('.' ),
Original file line number Diff line number Diff line change 3
3
markdown
4
4
pypugjs
5
5
jinja2
6
+ cmarkgfm
You can’t perform that action at this time.
0 commit comments