forked from cory/tildefriends
		
	buttfeed: Use markdown that works better in Manyverse.
This commit is contained in:
		@@ -59,7 +59,7 @@ cutoff = state.get('last_update') or (time.time() - 2 * 7 * 24 * 60 * 60)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
entries = [entry for entry in get_entries() if entry[0] > cutoff]
 | 
					entries = [entry for entry in get_entries() if entry[0] > cutoff]
 | 
				
			||||||
if entries:
 | 
					if entries:
 | 
				
			||||||
    text = '\n'.join([f' * [{entry[1]}] [{entry[3]}]({entry[2]})' for entry in entries])
 | 
					    text = '\n'.join([f' * **{entry[1]}** [{entry[3]}]({entry[2]})' for entry in entries])
 | 
				
			||||||
    state['last_update'] = entries[0][0]
 | 
					    state['last_update'] = entries[0][0]
 | 
				
			||||||
    if args.state_file:
 | 
					    if args.state_file:
 | 
				
			||||||
        content = json.dumps({'type': 'post', 'text': text, 'mentions': []})
 | 
					        content = json.dumps({'type': 'post', 'text': text, 'mentions': []})
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user