@@ -23,7 +23,7 @@ export default function RuntimeTestPage() {
2323
2424 < Heading level = { 2 } > REPLとコード実行のサンプル</ Heading >
2525 { /* name of each tab group should be unique */ }
26- < div className = "tabs tabs-border " >
26+ < div className = "tabs tabs-box " >
2727 { Object . entries ( sampleConfig ) . map ( ( [ lang , config ] ) => (
2828 < Fragment key = { lang } >
2929 < input
@@ -32,7 +32,7 @@ export default function RuntimeTestPage() {
3232 className = "tab"
3333 aria-label = { lang }
3434 />
35- < div className = "tab-content border-base-300 bg-base-200 p-4 " >
35+ < div className = "tab-content border-base-300 bg-base-100 " >
3636 < RuntimeSample lang = { lang as RuntimeLang } config = { config } />
3737 </ div >
3838 </ Fragment >
@@ -57,7 +57,7 @@ interface SampleConfig {
5757const sampleConfig : Record < RuntimeLang , SampleConfig > = {
5858 python : {
5959 repl : true ,
60- replInitContent : '>>> print("Hello, World!")\x1b[0m\ nHello, World!' ,
60+ replInitContent : '>>> print("Hello, World!")\nHello, World!' ,
6161 editor : {
6262 "main.py" : 'print("Hello, World!")' ,
6363 } ,
@@ -66,15 +66,15 @@ const sampleConfig: Record<RuntimeLang, SampleConfig> = {
6666 ruby : {
6767 repl : true ,
6868 replInitContent :
69- 'irb(main):001:0> puts "Hello, World!"\x1b[0m\ nHello, World!' ,
69+ 'irb(main):001:0> puts "Hello, World!"\nHello, World!' ,
7070 editor : {
7171 "main.rb" : 'puts "Hello, World!"' ,
7272 } ,
7373 exec : [ "main.rb" ] ,
7474 } ,
7575 javascript : {
7676 repl : true ,
77- replInitContent : '> console.log("Hello, World!");\x1b[0m\ nHello, World!' ,
77+ replInitContent : '> console.log("Hello, World!");\nHello, World!' ,
7878 editor : {
7979 "main.js" : 'console.log("Hello, World!");' ,
8080 } ,
@@ -84,7 +84,7 @@ const sampleConfig: Record<RuntimeLang, SampleConfig> = {
8484 repl : false ,
8585 editor : {
8686 "main.ts" :
87- 'function greet(name: string): void {\x1b[0m\ n console.log("Hello, " + name + "!");\x1b[0m\ n}\x1b[0m\n\x1b[0m \ngreet("World");' ,
87+ 'function greet(name: string): void {\n console.log("Hello, " + name + "!");\n}\n \ngreet("World");' ,
8888 } ,
8989 exec : [ "main.ts" ] ,
9090 } ,
@@ -269,7 +269,7 @@ function MochaTest() {
269269 </ >
270270 ) }
271271 </ p >
272- < div className = "m-0!" id = "mocha" />
272+ < div className = "m-0! font-sans! " id = "mocha" />
273273 </ div >
274274 ) ;
275275}
0 commit comments