File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 191191 " \n " ,
192192 " print(\" Solution markdown file created!\" )"
193193 ]
194+ },
195+ {
196+ "cell_type" : " markdown" ,
197+ "metadata" : {},
198+ "source" : [
199+ " ## Create New Entry"
200+ ]
201+ },
202+ {
203+ "cell_type" : " code" ,
204+ "execution_count" : null ,
205+ "metadata" : {},
206+ "outputs" : [],
207+ "source" : [
208+ " entry_title = f\" [{title}]({url})\"\n " ,
209+ " extra_spaces = ' ' * (98 - (len(entry_title)))\n " ,
210+ " \n " ,
211+ " entry = f\"\"\"\n " ,
212+ " | {day} | {entry_title}{extra_spaces} | [Solution](solutions/{output_filename}) | {site} | {difficulty} | {note2self} |\n " ,
213+ " \"\"\"\n " ,
214+ " \n " ,
215+ " print(\" Copy-paste new entry below to README.md.\" )\n " ,
216+ " \n " ,
217+ " print(entry)\n "
218+ ]
194219 }
195220 ],
196221 "metadata" : {
You can’t perform that action at this time.
0 commit comments