Skip to content

Latest commit

 

History

History

05_string_similarity_highlight

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

This example shows one solution how to compare two strings and highlight differing characters with CSS.

Differing characters highlighted

Run the tests as with previous examples:

python3 -m graderutils.main test_config.yaml --develop-mode | python3 -m graderutils_format.html --full-document > results.html

You can now view results.html in a browser.