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

Version bump #162

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Version bump #162

wants to merge 3 commits into from

Conversation

AtibQur
Copy link
Contributor

@AtibQur AtibQur commented Nov 4, 2024

No description provided.

@alexp-sssup
Copy link
Member

Please rework this to have a single variable controlling the version everywhere

@AtibQur AtibQur requested review from alexp-sssup and removed request for alexp-sssup November 7, 2024 09:18
Copy link
Member

@alexp-sssup alexp-sssup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Current solution does not work. Try to get a better understanding about how the ``` actually works. We want to get the same rendering style using HTML directly.

```
<div style={{ textAlign: "center", margin: "0 auto", color: "#ff6347" }}>
&lt;script src=`https://cxrtnc.leaningtech.com/`{VERSION}
`/cx.js`&gt;&lt;/script&gt;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the end result, and it's quite poor
image

Try to get a better understanding about how the code formatting library works, there must be a way to tell the system to apply the same formatting used for ``` blocks to arbitrary blocks of HTML code

@@ -23,12 +28,13 @@ CheerpX is also available as an ES6 JavaScript module. If you prefer to use the

```html
<script type="module">
import * as CheerpX from "https://cxrtnc.leaningtech.com/1.0.0/cx.esm.js";
// Insert the version number of CheerpX
import * as CheerpX from "https://cxrtnc.leaningtech.com/{VERSION_NUMBER}/cx.esm.js";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not work, as expected
image

Please use a local build, it does not make sense for me to review a not yet working solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants