Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to add the syntax highligting the original chat had? #12

Closed
LokiMidgard opened this issue Dec 12, 2022 · 0 comments · Fixed by #15 or #18
Closed

Is there a way to add the syntax highligting the original chat had? #12

LokiMidgard opened this issue Dec 12, 2022 · 0 comments · Fixed by #15 or #18
Labels
enhancement New feature or request

Comments

@LokiMidgard
Copy link

When exporting code to html the result contais following:

<pre><code class="language-javascript">// define a function named "add" that takes in two parameters
function add(a, b) {
  // add the two parameters together and return the result
  return a + b;
}

// call the add function, passing in the numbers 2 and 3 as arguments
let result = add(2, 3);

// log the result to the console
console.log(result); // Output: 5
</code></pre>

in chatgpt it looks like this:
image

in the export like this:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants