<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mohammad Reza Omrani</title>
    <description>The latest articles on DEV Community by Mohammad Reza Omrani (@mohammad_rezaomrani_ddf2).</description>
    <link>https://dev.to/mohammad_rezaomrani_ddf2</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2077759%2Ff2cc4b93-b6a0-4ab2-87b4-0daee9b8f7b0.jpg</url>
      <title>DEV Community: Mohammad Reza Omrani</title>
      <link>https://dev.to/mohammad_rezaomrani_ddf2</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mohammad_rezaomrani_ddf2"/>
    <language>en</language>
    <item>
      <title>adding new files</title>
      <dc:creator>Mohammad Reza Omrani</dc:creator>
      <pubDate>Sat, 14 Dec 2024 03:38:07 +0000</pubDate>
      <link>https://dev.to/mohammad_rezaomrani_ddf2/adding-new-files-29kn</link>
      <guid>https://dev.to/mohammad_rezaomrani_ddf2/adding-new-files-29kn</guid>
      <description>&lt;h2&gt;
  
  
  public/index.html
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
  &amp;lt;meta charset="UTF-8"&amp;gt;
  &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&amp;gt;
  &amp;lt;title&amp;gt;Example .myext Editor&amp;lt;/title&amp;gt;
  &amp;lt;style&amp;gt;
    body {
      font-family: Arial, sans-serif;
      position: relative;
    }
    #fileContent {
      width: 100%;
      height: 300px;
    }
    button {
      margin-top: 10px;
    }
    .popup {
      display: none;
      position: fixed;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      padding: 20px;
      background: #fff;
      border: 1px solid #ccc;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    .popup .close {
      display: block;
      text-align: right;
      cursor: pointer;
    }
    /* New tab styling */
    .tab {
      display: inline-block;
      padding: 10px;
      background: #f1f1f1;
      border: 1px solid #ccc;
      margin-right: 5px;
      cursor: pointer;
    }
    .tab.active {
      background: #ddd;
    }
    .new-file-btn {
      position: absolute;
      right: 10px;
      top: 10px;
      background: #007bff;
      color: white;
      padding: 10px;
      border: none;
      cursor: pointer;
    }
  &amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
  &amp;lt;h1&amp;gt;Edit .myext Files&amp;lt;/h1&amp;gt;
  &amp;lt;div id="tabs"&amp;gt;&amp;lt;/div&amp;gt;
  &amp;lt;textarea id="fileContent"&amp;gt;&amp;lt;/textarea&amp;gt;
  &amp;lt;button onclick="saveChanges()"&amp;gt;Save Changes&amp;lt;/button&amp;gt;
  &amp;lt;button onclick="showPopup()"&amp;gt;Show Function Result&amp;lt;/button&amp;gt;
  &amp;lt;button class="new-file-btn" onclick="createNewFile()"&amp;gt;New File&amp;lt;/button&amp;gt;

  &amp;lt;div id="popup" class="popup"&amp;gt;
    &amp;lt;div class="close" onclick="closePopup()"&amp;gt;✖&amp;lt;/div&amp;gt;
    &amp;lt;div id="popupContent"&amp;gt;&amp;lt;/div&amp;gt;
  &amp;lt;/div&amp;gt;

  &amp;lt;script&amp;gt;
    let currentFile = 'example.myext';

    // Function to create and activate a new tab
    function createTab(filename) {
      const tabs = document.getElementById('tabs');
      const newTab = document.createElement('div');
      newTab.className = 'tab';
      newTab.textContent = filename;
      newTab.onclick = () =&amp;gt; {
        currentFile = filename;
        fetchFileContent(currentFile);
        setActiveTab(newTab);
      };
      tabs.appendChild(newTab);
      setActiveTab(newTab);
    }

    // Fetch and display the current file content
    fetchFileContent(currentFile);
    createTab(currentFile);

    function fetchFileContent(filename) {
      fetch(`/${filename}`)
        .then(response =&amp;gt; response.text())
        .then(data =&amp;gt; {
          document.getElementById('fileContent').value = data;
        });
    }

    function saveChanges() {
      const content = document.getElementById('fileContent').value;
      fetch(`/${currentFile}`, {
        method: 'POST',
        headers: {
          'Content-Type': 'application/json'
        },
        body: JSON.stringify({ content: content })
      })
      .then(response =&amp;gt; response.text())
      .then(data =&amp;gt; {
        alert('File saved successfully');
      })
      .catch(err =&amp;gt; {
        alert('Error saving file');
      });
    }

    function showPopup() {
      const result = myCustomFunction();
      document.getElementById('popupContent').textContent = result;
      document.getElementById('popup').style.display = 'block';
    }

    function closePopup() {
      document.getElementById('popup').style.display = 'none';
    }

    function myCustomFunction() {
      return 'Custom function executed!';
    }

    function createNewFile() {
      const newFileName = prompt('Enter the name for the new file:', 'example1.myext');
      if (newFileName) {
        currentFile = newFileName;
        createTab(newFileName);
        fetchFileContent(newFileName);
      }
    }

    function setActiveTab(tab) {
      const tabs = document.querySelectorAll('.tab');
      tabs.forEach(t =&amp;gt; t.classList.remove('active'));
      tab.classList.add('active');
    }
  &amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  server.js
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
  &amp;lt;meta charset="UTF-8"&amp;gt;
  &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&amp;gt;
  &amp;lt;title&amp;gt;Example .myext Editor&amp;lt;/title&amp;gt;
  &amp;lt;style&amp;gt;
    body {
      font-family: Arial, sans-serif;
      position: relative;
    }
    #fileContent {
      width: 100%;
      height: 300px;
    }
    button {
      margin-top: 10px;
    }
    .popup {
      display: none;
      position: fixed;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      padding: 20px;
      background: #fff;
      border: 1px solid #ccc;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    .popup .close {
      display: block;
      text-align: right;
      cursor: pointer;
    }
    /* New tab styling */
    .tab {
      display: inline-block;
      padding: 10px;
      background: #f1f1f1;
      border: 1px solid #ccc;
      margin-right: 5px;
      cursor: pointer;
    }
    .tab.active {
      background: #ddd;
    }
    .new-file-btn {
      position: absolute;
      right: 10px;
      top: 10px;
      background: #007bff;
      color: white;
      padding: 10px;
      border: none;
      cursor: pointer;
    }
  &amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
  &amp;lt;h1&amp;gt;Edit .myext Files&amp;lt;/h1&amp;gt;
  &amp;lt;div id="tabs"&amp;gt;&amp;lt;/div&amp;gt;
  &amp;lt;textarea id="fileContent"&amp;gt;&amp;lt;/textarea&amp;gt;
  &amp;lt;button onclick="saveChanges()"&amp;gt;Save Changes&amp;lt;/button&amp;gt;
  &amp;lt;button onclick="showPopup()"&amp;gt;Show Function Result&amp;lt;/button&amp;gt;
  &amp;lt;button class="new-file-btn" onclick="createNewFile()"&amp;gt;New File&amp;lt;/button&amp;gt;

  &amp;lt;div id="popup" class="popup"&amp;gt;
    &amp;lt;div class="close" onclick="closePopup()"&amp;gt;✖&amp;lt;/div&amp;gt;
    &amp;lt;div id="popupContent"&amp;gt;&amp;lt;/div&amp;gt;
  &amp;lt;/div&amp;gt;

  &amp;lt;script&amp;gt;
    let currentFile = 'example.myext';

    // Function to create and activate a new tab
    function createTab(filename) {
      const tabs = document.getElementById('tabs');
      const newTab = document.createElement('div');
      newTab.className = 'tab';
      newTab.textContent = filename;
      newTab.onclick = () =&amp;gt; {
        currentFile = filename;
        fetchFileContent(currentFile);
        setActiveTab(newTab);
      };
      tabs.appendChild(newTab);
      setActiveTab(newTab);
    }

    // Fetch and display the current file content
    fetchFileContent(currentFile);
    createTab(currentFile);

    function fetchFileContent(filename) {
      fetch(`/${filename}`)
        .then(response =&amp;gt; response.text())
        .then(data =&amp;gt; {
          document.getElementById('fileContent').value = data;
        });
    }

    function saveChanges() {
      const content = document.getElementById('fileContent').value;
      fetch(`/${currentFile}`, {
        method: 'POST',
        headers: {
          'Content-Type': 'application/json'
        },
        body: JSON.stringify({ content: content })
      })
      .then(response =&amp;gt; response.text())
      .then(data =&amp;gt; {
        alert('File saved successfully');
      })
      .catch(err =&amp;gt; {
        alert('Error saving file');
      });
    }

    function showPopup() {
      const result = myCustomFunction();
      document.getElementById('popupContent').textContent = result;
      document.getElementById('popup').style.display = 'block';
    }

    function closePopup() {
      document.getElementById('popup').style.display = 'none';
    }

    function myCustomFunction() {
      return 'Custom function executed!';
    }

    function createNewFile() {
      const newFileName = prompt('Enter the name for the new file:', 'example1.myext');
      if (newFileName) {
        currentFile = newFileName;
        createTab(newFileName);
        fetchFileContent(newFileName);
      }
    }

    function setActiveTab(tab) {
      const tabs = document.querySelectorAll('.tab');
      tabs.forEach(t =&amp;gt; t.classList.remove('active'));
      tab.classList.add('active');
    }
  &amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
    </item>
    <item>
      <title>add new file button</title>
      <dc:creator>Mohammad Reza Omrani</dc:creator>
      <pubDate>Sat, 14 Dec 2024 03:33:58 +0000</pubDate>
      <link>https://dev.to/mohammad_rezaomrani_ddf2/add-new-file-button-4mad</link>
      <guid>https://dev.to/mohammad_rezaomrani_ddf2/add-new-file-button-4mad</guid>
      <description>&lt;h2&gt;
  
  
  public/index.html
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
  &amp;lt;meta charset="UTF-8"&amp;gt;
  &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&amp;gt;
  &amp;lt;title&amp;gt;Example .myext Editor&amp;lt;/title&amp;gt;
  &amp;lt;style&amp;gt;
    body {
      font-family: Arial, sans-serif;
      position: relative;
    }
    #fileContent {
      width: 100%;
      height: 300px;
    }
    button {
      margin-top: 10px;
    }
    .popup {
      display: none;
      position: fixed;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      padding: 20px;
      background: #fff;
      border: 1px solid #ccc;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    .popup .close {
      display: block;
      text-align: right;
      cursor: pointer;
    }
    /* New tab styling */
    .tab {
      display: inline-block;
      padding: 10px;
      background: #f1f1f1;
      border: 1px solid #ccc;
      margin-right: 5px;
      cursor: pointer;
    }
    .tab.active {
      background: #ddd;
    }
    .new-file-btn {
      position: absolute;
      right: 10px;
      top: 10px;
      background: #007bff;
      color: white;
      padding: 10px;
      border: none;
      cursor: pointer;
    }
  &amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
  &amp;lt;h1&amp;gt;Edit .myext Files&amp;lt;/h1&amp;gt;
  &amp;lt;div id="tabs"&amp;gt;&amp;lt;/div&amp;gt;
  &amp;lt;textarea id="fileContent"&amp;gt;&amp;lt;/textarea&amp;gt;
  &amp;lt;button onclick="saveChanges()"&amp;gt;Save Changes&amp;lt;/button&amp;gt;
  &amp;lt;button onclick="showPopup()"&amp;gt;Show Function Result&amp;lt;/button&amp;gt;
  &amp;lt;button class="new-file-btn" onclick="createNewFile()"&amp;gt;New File&amp;lt;/button&amp;gt;

  &amp;lt;div id="popup" class="popup"&amp;gt;
    &amp;lt;div class="close" onclick="closePopup()"&amp;gt;✖&amp;lt;/div&amp;gt;
    &amp;lt;div id="popupContent"&amp;gt;&amp;lt;/div&amp;gt;
  &amp;lt;/div&amp;gt;

  &amp;lt;script&amp;gt;
    let currentFile = 'example.myext';

    // Fetch and display the current file content
    fetchFileContent(currentFile);

    function fetchFileContent(filename) {
      fetch(`/${filename}`)
        .then(response =&amp;gt; response.text())
        .then(data =&amp;gt; {
          document.getElementById('fileContent').value = data;
        });
    }

    function saveChanges() {
      const content = document.getElementById('fileContent').value;
      fetch(`/${currentFile}`, {
        method: 'POST',
        headers: {
          'Content-Type': 'application/json'
        },
        body: JSON.stringify({ content: content })
      })
      .then(response =&amp;gt; response.text())
      .then(data =&amp;gt; {
        alert('File saved successfully');
      })
      .catch(err =&amp;gt; {
        alert('Error saving file');
      });
    }

    function showPopup() {
      const result = myCustomFunction();
      document.getElementById('popupContent').textContent = result;
      document.getElementById('popup').style.display = 'block';
    }

    function closePopup() {
      document.getElementById('popup').style.display = 'none';
    }

    function myCustomFunction() {
      return 'Custom function executed!';
    }

    function createNewFile() {
      const newFileName = prompt('Enter the name for the new file:', 'example1.myext');
      if (newFileName) {
        currentFile = newFileName;
        const newTab = document.createElement('div');
        newTab.className = 'tab';
        newTab.textContent = newFileName;
        newTab.onclick = () =&amp;gt; {
          currentFile = newFileName;
          fetchFileContent(currentFile);
          setActiveTab(newTab);
        };
        document.getElementById('tabs').appendChild(newTab);
        setActiveTab(newTab);
        fetchFileContent(newFileName);
      }
    }

    function setActiveTab(tab) {
      const tabs = document.querySelectorAll('.tab');
      tabs.forEach(t =&amp;gt; t.classList.remove('active'));
      tab.classList.add('active');
    }
  &amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
    </item>
    <item>
      <title>Show Result Button</title>
      <dc:creator>Mohammad Reza Omrani</dc:creator>
      <pubDate>Sat, 14 Dec 2024 03:31:59 +0000</pubDate>
      <link>https://dev.to/mohammad_rezaomrani_ddf2/show-result-button-3pi1</link>
      <guid>https://dev.to/mohammad_rezaomrani_ddf2/show-result-button-3pi1</guid>
      <description>&lt;h2&gt;
  
  
  public/index.html
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
  &amp;lt;meta charset="UTF-8"&amp;gt;
  &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&amp;gt;
  &amp;lt;title&amp;gt;Example .myext Editor&amp;lt;/title&amp;gt;
  &amp;lt;style&amp;gt;
    body {
      font-family: Arial, sans-serif;
    }
    textarea {
      width: 100%;
      height: 300px;
    }
    button {
      margin-top: 10px;
    }
    /* Popup styling */
    .popup {
      display: none;
      position: fixed;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      padding: 20px;
      background: #fff;
      border: 1px solid #ccc;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    .popup .close {
      display: block;
      text-align: right;
      cursor: pointer;
    }
  &amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
  &amp;lt;h1&amp;gt;Edit example.myext File&amp;lt;/h1&amp;gt;
  &amp;lt;textarea id="fileContent"&amp;gt;&amp;lt;/textarea&amp;gt;
  &amp;lt;button onclick="saveChanges()"&amp;gt;Save Changes&amp;lt;/button&amp;gt;
  &amp;lt;button onclick="showPopup()"&amp;gt;Show Function Result&amp;lt;/button&amp;gt;

  &amp;lt;div id="popup" class="popup"&amp;gt;
    &amp;lt;div class="close" onclick="closePopup()"&amp;gt;✖&amp;lt;/div&amp;gt;
    &amp;lt;div id="popupContent"&amp;gt;&amp;lt;/div&amp;gt;
  &amp;lt;/div&amp;gt;

  &amp;lt;script&amp;gt;
    // Fetch the content of the .myext file and display it
    fetch('/example.myext')
      .then(response =&amp;gt; response.text())
      .then(data =&amp;gt; {
        document.getElementById('fileContent').value = data;
      });

    // Save changes made to the .myext file
    function saveChanges() {
      const content = document.getElementById('fileContent').value;
      fetch('/example.myext', {
        method: 'POST',
        headers: {
          'Content-Type': 'application/json'
        },
        body: JSON.stringify({ content: content })
      })
      .then(response =&amp;gt; response.text())
      .then(data =&amp;gt; {
        alert('File saved successfully');
      })
      .catch(err =&amp;gt; {
        alert('Error saving file');
      });
    }

    // Show the popup with the function result
    function showPopup() {
      const result = myCustomFunction();
      document.getElementById('popupContent').textContent = result;
      document.getElementById('popup').style.display = 'block';
    }

    // Close the popup
    function closePopup() {
      document.getElementById('popup').style.display = 'none';
    }

    // Define the custom function
    function myCustomFunction() {
      return 'Custom function executed!';
    }
  &amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
    </item>
    <item>
      <title>Document Content Save Button</title>
      <dc:creator>Mohammad Reza Omrani</dc:creator>
      <pubDate>Sat, 14 Dec 2024 03:23:01 +0000</pubDate>
      <link>https://dev.to/mohammad_rezaomrani_ddf2/document-content-save-button-53b8</link>
      <guid>https://dev.to/mohammad_rezaomrani_ddf2/document-content-save-button-53b8</guid>
      <description>&lt;h2&gt;
  
  
  public/index.html
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
  &amp;lt;meta charset="UTF-8"&amp;gt;
  &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&amp;gt;
  &amp;lt;title&amp;gt;Example .myext Editor&amp;lt;/title&amp;gt;
  &amp;lt;style&amp;gt;
    body {
      font-family: Arial, sans-serif;
    }
    textarea {
      width: 100%;
      height: 300px;
    }
    button {
      margin-top: 10px;
    }
  &amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
  &amp;lt;h1&amp;gt;Edit example.myext File&amp;lt;/h1&amp;gt;
  &amp;lt;textarea id="fileContent"&amp;gt;&amp;lt;/textarea&amp;gt;
  &amp;lt;button onclick="saveChanges()"&amp;gt;Save Changes&amp;lt;/button&amp;gt;
  &amp;lt;script&amp;gt;
    // Fetch the content of the .myext file and display it
    fetch('/example.myext')
      .then(response =&amp;gt; response.text())
      .then(data =&amp;gt; {
        document.getElementById('fileContent').value = data;
      });

    // Save changes made to the .myext file
    function saveChanges() {
      const content = document.getElementById('fileContent').value;
      fetch('/example.myext', {
        method: 'POST',
        headers: {
          'Content-Type': 'application/json'
        },
        body: JSON.stringify({ content: content })
      })
      .then(response =&amp;gt; response.text())
      .then(data =&amp;gt; {
        alert('File saved successfully');
      })
      .catch(err =&amp;gt; {
        alert('Error saving file');
      });
    }
  &amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  server.js
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const express = require('express');
const app = express();
const fs = require('fs');
const path = require('path');

// Serve static files
app.use(express.static('public'));

// Route to fetch .myext file content
app.get('/example.myext', (req, res) =&amp;gt; {
  const filePath = path.join(__dirname, 'example.myext');
  fs.readFile(filePath, 'utf8', (err, data) =&amp;gt; {
    if (err) {
      return res.status(500).send('Error loading .myext file');
    }
    res.send(data); // Send the content of the .myext file
  });
});

// Serve the main HTML page
app.get('/', (req, res) =&amp;gt; {
  res.sendFile(path.join(__dirname, 'public', 'index.html'));
});

app.post('/example.myext', (req, res) =&amp;gt; {
    let body = '';
    req.on('data', chunk =&amp;gt; {
      body += chunk;
    });

    req.on('end', () =&amp;gt; {
      const data = JSON.parse(body);
      const filePath = path.join(__dirname, 'example.myext');
      fs.writeFile(filePath, data.content, 'utf8', (err) =&amp;gt; {
        if (err) {
          return res.status(500).send('Error saving .myext file');
        }
        res.send('File saved successfully');
      });
    });
  });


app.listen(3000, () =&amp;gt; {
  console.log('Server is running on port 3000');
});

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  lang.js
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function myCustomFunction() {
    console.log('Custom function executed!');
  }

  myCustomFunction(); // Call the function

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;example.myext&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;myCustomFunction();
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
    </item>
  </channel>
</rss>
