Skip to content

Commit

Permalink
Added XML markup in the example
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin91nl committed Feb 18, 2023
1 parent 50de394 commit 2b3525d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ result = text_highlighter(
)

# Show the results (in XML format)
st.write(result.to_xml())
st.code(result.to_xml())

# Show the results (as a list)
st.write(result)
Expand Down
2 changes: 1 addition & 1 deletion example.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
)

# Show the results (in XML format)
st.write(result.to_xml())
st.code(result.to_xml())

# Show the results (as a list)
st.write(result)

0 comments on commit 2b3525d

Please sign in to comment.