File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed
docs/example_data/Basic_example_vuegen_demo_notebook Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 1- A general description of the report.
1+ A general description of the report.
2+
3+ It should test all major components which are available
4+ to be integrated into VueGen.
5+
6+ Check our tests folder for examples of report files used to generate actual reports.
Original file line number Diff line number Diff line change @@ -392,17 +392,19 @@ def _format_text(
392392 )
393393
394394 text = text .strip () # get rid of new lines
395-
396- return textwrap .dedent (
397- f"""
395+ text = textwrap . indent ( text , " " )
396+ ret = textwrap .dedent (
397+ f"""\
398398 st.markdown(
399- (
400- "<{ tag } style='text-align: { text_align } ; "
401- "color: { color } ;'>{ text } </{ tag } >"
402- ),
399+ '''
400+ <{ tag } style='text-align: { text_align } ;
401+ color: { color } ;'>\n { text }
402+ </{ tag } >
403+ ''',
403404 unsafe_allow_html=True)
404405 """
405406 )
407+ return ret
406408
407409 def _generate_home_section (
408410 self ,
You can’t perform that action at this time.
0 commit comments