nodality 1.0.38 → 1.0.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (203) hide show
  1. package/dist/animator.cjs.js.LICENSE.txt +1 -1
  2. package/dist/animator.esm.js.LICENSE.txt +1 -1
  3. package/dist/appleanim.cjs.js.LICENSE.txt +1 -1
  4. package/dist/appleanim.esm.js.LICENSE.txt +1 -1
  5. package/dist/audionew.cjs.js.LICENSE.txt +1 -1
  6. package/dist/audionew.esm.js.LICENSE.txt +1 -1
  7. package/dist/base.cjs.js.LICENSE.txt +1 -1
  8. package/dist/base.esm.js.LICENSE.txt +1 -1
  9. package/dist/betaDesktopBar.esm.js.LICENSE.txt +1 -1
  10. package/dist/betaMobileBar.esm.js.LICENSE.txt +1 -1
  11. package/dist/bundle.umd.js +1 -1
  12. package/dist/bundle.umd.js.LICENSE.txt +1 -1
  13. package/dist/button.cjs.js.LICENSE.txt +1 -1
  14. package/dist/button.esm.js.LICENSE.txt +1 -1
  15. package/dist/cardGetter.cjs.js.LICENSE.txt +1 -1
  16. package/dist/cardGetter.esm.js.LICENSE.txt +1 -1
  17. package/dist/center.cjs.js.LICENSE.txt +1 -1
  18. package/dist/center.esm.js.LICENSE.txt +1 -1
  19. package/dist/checkbox.cjs.js.LICENSE.txt +1 -1
  20. package/dist/checkbox.esm.js.LICENSE.txt +1 -1
  21. package/dist/code.cjs.js.LICENSE.txt +1 -1
  22. package/dist/code.esm.js.LICENSE.txt +1 -1
  23. package/dist/container.cjs.js.LICENSE.txt +1 -1
  24. package/dist/container.esm.js.LICENSE.txt +1 -1
  25. package/dist/datalist.cjs.js.LICENSE.txt +1 -1
  26. package/dist/datalist.esm.js.LICENSE.txt +1 -1
  27. package/dist/designer.cjs.js +1 -1
  28. package/dist/designer.cjs.js.LICENSE.txt +1 -1
  29. package/dist/designer.esm.js +1 -1
  30. package/dist/designer.esm.js.LICENSE.txt +1 -1
  31. package/dist/dropdown.cjs.js.LICENSE.txt +1 -1
  32. package/dist/dropdown.esm.js.LICENSE.txt +1 -1
  33. package/dist/elementMapper.cjs.js +1 -1
  34. package/dist/elementMapper.cjs.js.LICENSE.txt +1 -1
  35. package/dist/elementMapper.esm.js +1 -1
  36. package/dist/elementMapper.esm.js.LICENSE.txt +1 -1
  37. package/dist/finalresult.esm.js +1 -1
  38. package/dist/finalresult.esm.js.LICENSE.txt +1 -1
  39. package/dist/flexCard.cjs.js.LICENSE.txt +1 -1
  40. package/dist/flexCard.esm.js.LICENSE.txt +1 -1
  41. package/dist/flexGrid.cjs.js.LICENSE.txt +1 -1
  42. package/dist/flexGrid.esm.js.LICENSE.txt +1 -1
  43. package/dist/flexRow.cjs.js.LICENSE.txt +1 -1
  44. package/dist/flexRow.esm.js.LICENSE.txt +1 -1
  45. package/dist/floatingInput.cjs.js.LICENSE.txt +1 -1
  46. package/dist/floatingInput.esm.js.LICENSE.txt +1 -1
  47. package/dist/free.cjs.js.LICENSE.txt +1 -1
  48. package/dist/free.esm.js.LICENSE.txt +1 -1
  49. package/dist/horizontalScroller.esm.js.LICENSE.txt +1 -1
  50. package/dist/image.cjs.js.LICENSE.txt +1 -1
  51. package/dist/image.esm.js.LICENSE.txt +1 -1
  52. package/dist/imagePicker.cjs.js.LICENSE.txt +1 -1
  53. package/dist/imagePicker.esm.js.LICENSE.txt +1 -1
  54. package/dist/index.cjs.js +1 -1
  55. package/dist/index.cjs.js.LICENSE.txt +1 -1
  56. package/dist/index.esm.js +1 -1
  57. package/dist/index.esm.js.LICENSE.txt +1 -1
  58. package/dist/link.cjs.js.LICENSE.txt +1 -1
  59. package/dist/link.esm.js.LICENSE.txt +1 -1
  60. package/dist/linkGetter.cjs.js.LICENSE.txt +1 -1
  61. package/dist/linkGetter.esm.js.LICENSE.txt +1 -1
  62. package/dist/metaAdder.cjs.js.LICENSE.txt +1 -1
  63. package/dist/metaAdder.esm.js.LICENSE.txt +1 -1
  64. package/dist/modal2025.cjs.js.LICENSE.txt +1 -1
  65. package/dist/modal2025.esm.js.LICENSE.txt +1 -1
  66. package/dist/multiswitchers.esm.js.LICENSE.txt +1 -1
  67. package/dist/newNavBar.cjs.js.LICENSE.txt +1 -1
  68. package/dist/newNavBar.esm.js.LICENSE.txt +1 -1
  69. package/dist/picker.cjs.js.LICENSE.txt +1 -1
  70. package/dist/picker.esm.js.LICENSE.txt +1 -1
  71. package/dist/progress.cjs.js.LICENSE.txt +1 -1
  72. package/dist/progress.esm.js.LICENSE.txt +1 -1
  73. package/dist/radio.cjs.js.LICENSE.txt +1 -1
  74. package/dist/radio.esm.js.LICENSE.txt +1 -1
  75. package/dist/range.cjs.js.LICENSE.txt +1 -1
  76. package/dist/range.esm.js.LICENSE.txt +1 -1
  77. package/dist/scrollvideo.cjs.js.LICENSE.txt +1 -1
  78. package/dist/scrollvideo.esm.js.LICENSE.txt +1 -1
  79. package/dist/sideBar.cjs.js.LICENSE.txt +1 -1
  80. package/dist/sideBar.esm.js.LICENSE.txt +1 -1
  81. package/dist/sideNavBar.cjs.js.LICENSE.txt +1 -1
  82. package/dist/sideNavBar.esm.js.LICENSE.txt +1 -1
  83. package/dist/simpleBar.cjs.js.LICENSE.txt +1 -1
  84. package/dist/simpleBar.esm.js.LICENSE.txt +1 -1
  85. package/dist/slider2025.cjs.js.LICENSE.txt +1 -1
  86. package/dist/slider2025.esm.js.LICENSE.txt +1 -1
  87. package/dist/spacer.cjs.js.LICENSE.txt +1 -1
  88. package/dist/stack.cjs.js.LICENSE.txt +1 -1
  89. package/dist/stack.esm.js.LICENSE.txt +1 -1
  90. package/dist/stacker.cjs.js.LICENSE.txt +1 -1
  91. package/dist/stacker.esm.js.LICENSE.txt +1 -1
  92. package/dist/table.cjs.js.LICENSE.txt +1 -1
  93. package/dist/table.esm.js.LICENSE.txt +1 -1
  94. package/dist/text.cjs.js +1 -1
  95. package/dist/text.cjs.js.LICENSE.txt +1 -1
  96. package/dist/text.esm.js +1 -1
  97. package/dist/text.esm.js.LICENSE.txt +1 -1
  98. package/dist/textField.cjs.js.LICENSE.txt +1 -1
  99. package/dist/textField.esm.js.LICENSE.txt +1 -1
  100. package/dist/transformanim.cjs.js.LICENSE.txt +1 -1
  101. package/dist/transformanim.esm.js.LICENSE.txt +1 -1
  102. package/dist/ulist.cjs.js.LICENSE.txt +1 -1
  103. package/dist/ulist.esm.js.LICENSE.txt +1 -1
  104. package/dist/video.esm.js.LICENSE.txt +1 -1
  105. package/dist/wrap.cjs.js.LICENSE.txt +1 -1
  106. package/dist/wrap.esm.js.LICENSE.txt +1 -1
  107. package/dist/zoomCard.cjs.js.LICENSE.txt +1 -1
  108. package/dist/zoomCard.esm.js.LICENSE.txt +1 -1
  109. package/layout/DEPRECATED-PARAGRAPH.js +1 -1
  110. package/layout/animator.js +1 -1
  111. package/layout/audio.js +1 -1
  112. package/layout/audionew.js +1 -1
  113. package/layout/base-2.js +1 -1
  114. package/layout/base.js +1 -1
  115. package/layout/betaDesktopBar.js +1 -1
  116. package/layout/betaMobileBar.js +1 -1
  117. package/layout/box.js +1 -1
  118. package/layout/button.js +1 -1
  119. package/layout/cards.js +1 -1
  120. package/layout/center.js +1 -1
  121. package/layout/checkbox.js +1 -1
  122. package/layout/circle.js +1 -1
  123. package/layout/cleanRow.js +1 -1
  124. package/layout/code.js +1 -1
  125. package/layout/container.js +1 -1
  126. package/layout/custom.js +1 -1
  127. package/layout/divImage.js +1 -1
  128. package/layout/dropdown.js +1 -1
  129. package/layout/dropdown2025.js +1 -1
  130. package/layout/emptyElement.js +1 -1
  131. package/layout/externalStylesheet.js +1 -1
  132. package/layout/flexCard.js +1 -1
  133. package/layout/flexGrid.js +1 -1
  134. package/layout/flexrow.js +1 -1
  135. package/layout/footer.js +1 -1
  136. package/layout/formComponents/custom.js +1 -1
  137. package/layout/formComponents/dataList.js +1 -1
  138. package/layout/formComponents/floatingInput.js +1 -1
  139. package/layout/formComponents/form-all.js +1 -1
  140. package/layout/formComponents/form.js +1 -1
  141. package/layout/formComponents/imagePicker.js +1 -1
  142. package/layout/formComponents/picker.js +1 -1
  143. package/layout/formComponents/radio.js +1 -1
  144. package/layout/formComponents/radiogroup.js +1 -1
  145. package/layout/formComponents/range.js +1 -1
  146. package/layout/free.js +1 -1
  147. package/layout/grid-new.js +1 -1
  148. package/layout/grid.js +1 -1
  149. package/layout/gridSwitcher.js +1 -1
  150. package/layout/group.js +1 -1
  151. package/layout/header.js +1 -1
  152. package/layout/horizontalScroller.js +1 -1
  153. package/layout/image-old.js +1 -1
  154. package/layout/image.js +1 -1
  155. package/layout/index.js +1 -1
  156. package/layout/label.js +1 -1
  157. package/layout/link.js +1 -1
  158. package/layout/list-OLD.js +1 -1
  159. package/layout/list.js +1 -1
  160. package/layout/metaAdder.js +1 -1
  161. package/layout/modal2025.js +1 -1
  162. package/layout/modernwrap.js +1 -1
  163. package/layout/multiswitcher.js +1 -1
  164. package/layout/multiswitcherBeta.js +1 -1
  165. package/layout/navBar-OLD.js +1 -1
  166. package/layout/navBar.js +1 -1
  167. package/layout/navFactor/customDiv.js +1 -1
  168. package/layout/newFlatAdder.js +1 -1
  169. package/layout/newNavBar copy 2.js +1 -1
  170. package/layout/newNavBar copy.js +1 -1
  171. package/layout/newNavBar.js +1 -1
  172. package/layout/offsetContainer.js +1 -1
  173. package/layout/polygon.js +1 -1
  174. package/layout/progress.js +1 -1
  175. package/layout/row.js +1 -1
  176. package/layout/savedNewNavBar.js +1 -1
  177. package/layout/scrollvideo.js +1 -1
  178. package/layout/sideBar.js +1 -1
  179. package/layout/sideNavBar.js +1 -1
  180. package/layout/simpleBar.js +1 -1
  181. package/layout/slider2025.js +1 -1
  182. package/layout/spacer.js +1 -1
  183. package/layout/stack.js +1 -1
  184. package/layout/styler.js +1 -1
  185. package/layout/switcher.js +1 -1
  186. package/layout/table.js +1 -1
  187. package/layout/text.js +51 -1
  188. package/layout/textField.js +1 -1
  189. package/layout/ulist.js +1 -1
  190. package/layout/video.js +1 -1
  191. package/layout/withoutNew.js +1 -1
  192. package/layout/wrap.js +1 -1
  193. package/layout/zoomCard.js +1 -1
  194. package/lib/AppleAnim.js +1 -1
  195. package/lib/KeyframeAnimation.js +1 -1
  196. package/lib/Stacker.js +1 -1
  197. package/lib/TransformAnim.js +1 -1
  198. package/lib/cardGetter.js +1 -1
  199. package/lib/designer.js +1 -1
  200. package/lib/elementMapper.js +1 -1
  201. package/lib/linkGetter.js +1 -1
  202. package/lib/scrollvideo.js +1 -1
  203. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/free.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/grid.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/group.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/header.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/image.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/label.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/link.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/list.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/navBar.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/polygon.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/row.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/sideBar.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/spacer.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/stack.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/styler.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/table.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/text.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -295,6 +295,39 @@ console.log("DEL");
295
295
  return modifiedJSON;
296
296
  }
297
297
 
298
+
299
+ looksLikeMarkdown(str) {
300
+ return /(\*\*.*\*\*|\*.*\*|`[^`]+`|\[.*?\]\(.*?\)|^# )/m.test(str);
301
+ }
302
+
303
+ // Minimal Markdown parser
304
+ parseMarkdown(mdString) {
305
+ let html = mdString;
306
+
307
+ // Headers: # H1, ## H2, ### H3
308
+ html = html.replace(/^### (.*$)/gim, "<h3>$1</h3>");
309
+ html = html.replace(/^## (.*$)/gim, "<h2>$1</h2>");
310
+ html = html.replace(/^# (.*$)/gim, "<h1>$1</h1>");
311
+
312
+ // Bold: **text**
313
+ html = html.replace(/\*\*(.*?)\*\*/g, "<strong>$1</strong>");
314
+
315
+ // Italic: *text*
316
+ html = html.replace(/\*(.*?)\*/g, "<em>$1</em>");
317
+
318
+ // Inline code: `code`
319
+ html = html.replace(/`([^`]+)`/g, "<code>$1</code>");
320
+
321
+ // Links: [text](url)
322
+ html = html.replace(/\[([^\]]+)\]\(([^)]+)\)/g, '<a href="$2">$1</a>');
323
+
324
+ // Line breaks
325
+ html = html.replace(/\n/g, "<br>");
326
+ console.log("HTML");
327
+ console.log(html);
328
+
329
+ return html;
330
+ }
298
331
 
299
332
  set(obj){
300
333
  this.resCopy = this.res;
@@ -302,6 +335,10 @@ console.log("DEL");
302
335
  super.setPrevText(this.text);
303
336
  let stra = "";
304
337
 
338
+
339
+
340
+
341
+
305
342
  //alert(obj.top);
306
343
  obj.top && (this.res.style.top = obj.top);
307
344
  obj.left && (this.res.style.left = obj.left);
@@ -428,6 +465,7 @@ this.res.style.position = "absolute";
428
465
 
429
466
  this.callReact(obj);
430
467
 
468
+
431
469
 
432
470
  //this.code.push(str); // 14:04:10 06/03
433
471
 
@@ -1704,11 +1742,23 @@ checkForAnimation(queries){
1704
1742
  // alert("P")
1705
1743
  this.res.textContent = this.text;
1706
1744
  }
1745
+
1746
+ if (this.looksLikeMarkdown(this.text)) {
1747
+ console.log("See md"); // 224635 29/09/25
1748
+ console.log(this.parseMarkdown(this.text));
1749
+ this.res.innerHTML = this.parseMarkdown(this.text);
1750
+ }
1751
+
1752
+
1707
1753
  document.querySelector(div).appendChild(this.res);
1708
1754
  } else {
1709
1755
  if (this.options && !this.options.span){
1710
1756
  this.res.textContent = this.text;
1711
1757
  }
1758
+
1759
+ if (this.looksLikeMarkdown(this.text)) {
1760
+ this.res.innerHTML = this.parseMarkdown(this.text);
1761
+ }
1712
1762
  return this.res;
1713
1763
  }
1714
1764
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/ulist.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/video.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/wrap.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/lib/AppleAnim.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/lib/Stacker.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/lib/cardGetter.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/lib/designer.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/lib/linkGetter.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.38
2
+ * nodality v1.0.40
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodality",
3
- "version": "1.0.38",
3
+ "version": "1.0.40",
4
4
  "description": "A lightweight library for declarative UI elements.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",