{"id":1522,"date":"2020-05-29T20:16:18","date_gmt":"2020-05-29T16:46:18","guid":{"rendered":"https:\/\/behnudi.ir\/?p=1522"},"modified":"2024-09-02T14:19:58","modified_gmt":"2024-09-02T10:49:58","slug":"impress-js-formula","status":"publish","type":"post","link":"https:\/\/behnudi.ir\/?p=1522","title":{"rendered":"\u0641\u0631\u0645\u0648\u0644 \u062f\u0631 \u0627\u0631\u0627\u0626\u0647 impress.js"},"content":{"rendered":"<p>\u0628\u0631\u0627\u06cc \u0627\u0641\u0632\u0648\u062f\u0646 \u0641\u0631\u0645\u0648\u0644\u200c\u0647\u0627\u06cc \u0631\u06cc\u0627\u0636\u06cc\u060c \u0641\u06cc\u0632\u06cc\u06a9 \u0648 \u0634\u06cc\u0645\u06cc \u0628\u0647 \u0641\u0627\u06cc\u0644 \u0627\u0631\u0627\u0626\u0647 \u062e\u0648\u062f \u062f\u0631 impress.js \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u067e\u0631\u0648\u0698\u0647 \u062c\u0627\u0648\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a KaTeX \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<!--more--><\/p>\n<p>\u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0627\u0628\u062a\u062f\u0627 \u0644\u06cc\u0646\u06a9 \u0641\u0627\u06cc\u0644 CSS \u0622\u0646 \u0631\u0627 \u062f\u0631 head \u0642\u0628\u0644 \u0627\u0632 \u0641\u0627\u06cc\u0644 CSS \u0627\u0631\u0627\u0626\u0647 \u062e\u0648\u062f \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f:<\/p>\n<pre><code class=\"html\"><mark>&lt;link rel=\"stylesheet\" type=\"text\/css\" href=\"css\/katex.min.css\"&gt;<\/mark>\r\n&lt;link rel=\"stylesheet\" type=\"text\/css\" href=\"css\/impress.css\"&gt;<\/code><\/pre>\n<p>\u0633\u067e\u0633 \u0644\u06cc\u0646\u06a9 \u0641\u0627\u06cc\u0644 javascript \u0622\u0646 \u0631\u0627 \u062f\u0631 \u067e\u0627\u06cc\u06cc\u0646 \u0641\u0627\u06cc\u0644 \u0642\u0628\u0644 \u0627\u0632 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a impress.js \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n<pre><code class=\"html\"><mark>&lt;script src=\"js\/katex.min.js\" type=\"text\/javascript\"&gt;&lt;\/script&gt;\r\n&lt;script&gt;\r\n  var x = document.getElementsByClassName(\"latex\");\r\n  for (i = 0; i &lt; x.length; i++) {\r\n    try {\r\n      katex.render(x[i].innerHTML, x[i]);\r\n    } catch (err) {\r\n      if (x[i].className.search(\"errorMessage\") == -1) x[i].className += \" errorMessage\";\r\n      x[i].innerHTML = err;\r\n    }\r\n  }\r\n&lt;\/script&gt;<\/mark>\r\n\r\n&lt;script src=\"js\/impress.min.js\" type=\"text\/javascript\"&gt;&lt;\/script&gt;\r\n&lt;script&gt;\r\n  impress().init();\r\n&lt;\/script&gt;<\/code><\/pre>\n<p>\u0648 \u062f\u0631 \u0646\u0647\u0627\u06cc\u062a \u062f\u0631 \u0647\u0631 \u062c\u0627 \u062e\u0648\u0627\u0633\u062a\u06cc\u062f \u0641\u0631\u0645\u0648\u0644 \u0628\u0646\u0648\u06cc\u0633\u06cc\u062f \u0622\u0646 \u0631\u0627 \u062f\u0631 \u06a9\u0644\u0627\u0633 latex \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n<p>\u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644:<\/p>\n<pre><code class=\"html\">&lt;p class=\"<mark>latex<\/mark>\"&gt;E=mc^2&lt;\/p&gt;<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u0628\u0631\u0627\u06cc \u0627\u0641\u0632\u0648\u062f\u0646 \u0641\u0631\u0645\u0648\u0644\u200c\u0647\u0627\u06cc \u0631\u06cc\u0627\u0636\u06cc\u060c \u0641\u06cc\u0632\u06cc\u06a9 \u0648 \u0634\u06cc\u0645\u06cc \u0628\u0647 \u0641\u0627\u06cc\u0644 \u0627\u0631\u0627\u0626\u0647 \u062e\u0648\u062f \u062f\u0631 impress.js \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u067e\u0631\u0648\u0698\u0647 \u062c\u0627\u0648\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a KaTeX \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n","protected":false},"author":1,"featured_media":1523,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"video","meta":{"footnotes":""},"categories":[20],"tags":[57,44],"class_list":["post-1522","post","type-post","status-publish","format-video","has-post-thumbnail","hentry","category-computer-science","tag-presentation","tag-web-design","post_format-post-format-video"],"_links":{"self":[{"href":"https:\/\/behnudi.ir\/index.php?rest_route=\/wp\/v2\/posts\/1522","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/behnudi.ir\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/behnudi.ir\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/behnudi.ir\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/behnudi.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1522"}],"version-history":[{"count":0,"href":"https:\/\/behnudi.ir\/index.php?rest_route=\/wp\/v2\/posts\/1522\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/behnudi.ir\/index.php?rest_route=\/wp\/v2\/media\/1523"}],"wp:attachment":[{"href":"https:\/\/behnudi.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1522"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/behnudi.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1522"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/behnudi.ir\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}