Need to include a CSS and Java Script inside a Topic

I am trying to embed a PGN file in a topic. This requires including CSS and Javascript in the topic. Could some one, please help me how can I use CSS and Javascript in a topic

1 Like

This is not possible in Discourse. What is a PGN file, can you describe your goal a little more clearly?

1 Like

PGN means Portable Game Notation. Generally a all the moves of a Chess Game can be exported in to text format and can be read using a PGN reader and replay the chess game.
It generally looks like this:
[Event “World Championship 28th”]
[White “Spassky, Boris V”]
[Black “Fischer, Robert James”]
[Site “Reykjavik”]
[Result “1–0”]
[Date “1972.08.06”]
[WhiteElo “2660”]
[BlackElo “2785”]

  1. e4 c5 2. Nf3 d6 3. d4 cxd4 4. Nxd4 Nf6 5. Nc3 a6 6. Bg5 e6 7. f4 Qb6 8. Qd2 Qxb2 9. Nb3 Qa3 10. Bxf6 gxf6 11. Be2 h5 12. 0-0 Nc6 13. Kh1 Bd7 14. Nb1 Qb4 15. Qe3 d5 16. exd5 Ne7 17. c4 Nf5 18. Qd3 h4 19. Bg4 Nd6 20. N1d2 f5 21. a3 Qb6 22. c5 Qb5 23. Qc3 fxg4 24. a4 h3 25. axb5 hxg2+ 26. Kxg2 Rh3 27. Qf6 Nf5 28. c6 Bc8 29. dxe6 fxe6 30. Rfe1 Be7 31. Rxe6
1 Like