Highlighting TeX with Ace.js

Overview I had an opportunity to highlight TeX with Ace.js, so here are my notes. I referenced the following article. https://banatech.net/blog/view/11 I hope this serves as a helpful reference. Screen Example Demo Site https://nakamura196.github.io/ace_latex/ Repository https://github.com/nakamura196/ace_latex Source Code < テ h \ \ キ \ \ / t < < u u b ス 右 e h m h / b s s e ト 注 n / t l e < h o < < < e e g { d b m a t e d d s s p p i ( { / o l l d i a y i c s i c r / c c a a n サ d c e e e e e e } e s d > a > t d > v r r n r e s r o c c { ン o d d d d d d ) d c y n l > i c t o f c i n k k d プ c n i i i i i i e e ; i r > g e i p = e s e r p s a a o ル u s e t t t t t t n n t i = > d t " g s r i t t g g c ) m t d o o o o o o a a o p " A = h r o r p > e e u } e i r r r r r r b b r t e C " t i r e t t [ { m テ n e t . . . . . . l l . > n E e t t i r > e d m e キ t d o s g g g $ s e e s " d p y g p x v u n ス } i r e e e e b e B S e > i i s = i o t i l t ト ` t . t t t t l t a n t n t : " n l p t } ; o s F S S S o O s i V o / s = i = s i r e o e e e c p i p a A r / h " c ] c t n s s s k t c p l c " c a a y ` { o = T t s s s S i A e u t d 5 n = \ g l h S i i i c o u t e i s n 1 o " \ r } a e i o o o r n t s ( o t j 2 n n u a c m z n n n o s o : t n y s - y o s p e e e ( ( ( l ( c e < l . o m - e h . ( ( ) ) ) l { o t x / e c V o r p i e " 1 . . . i m r t t = l y u e a c d a 4 s s s n p u , i " o p s f c s i c ) e e e g l e t w u 4 " e k } t e ; t t t e , 1 l i d 8 r a ( / M U T = t ) e d f / r g " t o s a i ; > t l 6 e e e h d e b I o h a 1 r { d e e W S n n : r 0 " h i m ( r i f : e D i t e " a z i 1 . 5 r o / a p e n t 0 c J a r m c M ( i r 0 o o g " o e 4 t u % m 5 i ) n d ) y e ; / 7 n ; o m e ; ; , a 7 o k o ( h j c , a d t e a v r i e r i x p y " / u g / 2 u ) l e h l v m ; a ) t i X i t ; : b + n e s F , x 4 / c c " 0 a 0 i ) 0 c k d ; p e Y } x / a ; 1 I . 6 b 2 s o 3 2 r . t d 2 Z e / R r a q : c B e R 1 . z p j j x s Z " h s 7 o + l y i / d v O g E r H a T y z ; U " e > f < b / X d k i / v B > 8 P 0 B 7 6 b O K 3 t L 1 z e F / Q c X l y i A = = "

July 9, 2023 · 5 min · Nakamura

Loading .glb Files with Nuxt3 x babylon.js

Overview I encountered an error when attempting to load a .glb file in Nuxt3 x babylon.js, so this is a memo of how I resolved it. Error Details The following error occurred: Unable to load from ./models/test.glb: importScene of undefined from undefined version: undefined, exporter version: undefinedimportScene has failed JSON parse Solution The issue was resolved by additionally installing the following package: n p m i n s t a l l @ b a b y l o n j s / l o a d e r s As a result, I was able to display the model with the following JavaScript file: ...

March 29, 2023 · 5 min · Nakamura