Skip to content

Commit fd0fbfd

Browse files
committed
return pre with class; users can set styling in Jupyter interface or other outputs
1 parent 8b03840 commit fd0fbfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dyalog_kernel/kernel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ def out_html(self, s):
113113
def out_result(self, s):
114114
# injecting css: white-space:pre. Means no wrapping, RIDE SetPW will take care about line wrapping
115115

116-
html_start = '<span style="white-space:pre; font-family: monospace">'
117-
html_end = '</span>'
116+
html_start = '<pre class="language-APL">'
117+
html_end = '</pre>'
118118

119119
_content = {
120120
# 'output_type': 'display_data',

0 commit comments

Comments
 (0)