Need to include PGN (chess game notation) in a post

Your browser console might help you to debug ?
But i don’t think the css is the script you’re looking for, you need more than just rendering
When looking at the file structure of a component

you’ll have to embed your scripts (.js) in a (header).html file

I’d try to look at the code and structure of… lets say DiscoTOC and

i concur with

enthusiast (I, a long time ago, spent a little time with Karpov :star_struck:)
willing to learn
spending the time to implement :sob:

1 Like

There are no errors reported in the browser console.
But, the post is not recognizing the

<div class="cbreplay">

element.
In the page source I could see only Div element with out any class defined.
Any other ways to debug what is the exact issue

The rendering pipeline strips out certain HTML entities and attributes by necessity.

I would suggest starting from a theme component such as discourse-totp-markdown
which has similar functionality to what you’re trying to accomplish.

4 Likes