Skip to content

Commit 4784a95

Browse files
authored
Merge pull request Dyalog#84 from rikedyp/return-pre
Return pre
2 parents 8b03840 + 3e2fce6 commit 4784a95

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dyalog_kernel/init.dyalog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
tmp.⎕CY'salt'
44
{}tmp.enableSALT
55
⎕SE.UCMD'←box on -f=on -t=tree' TryAPL's boxing settings
6-
⎕PP6 TryAPL's precision
6+
⎕PP10 TryAPL's precision
77
⎕RTL1 wait one sec for ⍞ input...
88
⎕TRAP1006,'C→' then cut back
99
⎕EX'Init' remove self

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)