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

.typ files have a few broken lists #10

Open
tusharsadhwani opened this issue Jul 11, 2024 · 0 comments
Open

.typ files have a few broken lists #10

tusharsadhwani opened this issue Jul 11, 2024 · 0 comments

Comments

@tusharsadhwani
Copy link

tusharsadhwani commented Jul 11, 2024

There are many markdown lists that haven't been properly translated into the .typ counterparts, such as:

* It is an extremely _simple_ approach to building web applications.
* It is extremely tolerant of content and API changes. In fact, it thrives on them!
* It leverages tried and true features of web browsers, such as caching.

Has been translated to:

- It is an extremely _simple_ approach to building web applications.- It is
extremely tolerant of content and API changes. In fact, it thrives on them!- It
leverages tried and true features of web browsers, such as caching.

In the PDF:

Screenshot 2024-07-12 at 1 40 53 AM

- Show the text "`Hypermedia Systems`" in a manner indicating that it is clickable.
- When the user clicks on that text, issue an HTTP `GET` request to the URL `https://hypermedia.systems/`.
- Take the HTML content in the body of the HTTP response to this request and replace the entire screen in the browser as a new
document, updating the navigation bar to this new URL.

has been translated to:

In a typical web browser, this anchor tag would be interpreted to mean:- Show
the text "Hypermedia Systems" in a manner indicating that it is clickable- When
the user clicks on that text, issue an HTTP `GET` request to the URL `https://hypermedia.systems/`-
Take the HTML content in the body of the HTTP response to this request and
replace the entire screen in the browser as a new document, updating the
navigation bar to this new URL.

Screenshot 2024-07-12 at 1 37 19 AM

There are a few lists that came out fine, like this one:

* It's not focusable -- the Tab key won't get you to it.
* There's no way for assistive tools to tell that it's a button.

became:

- It’s not focusable --- the Tab key won’t get you to it.
- There’s no way for assistive tools to tell that it’s a button.

But, this is all from the first chapter. I'd suspect most lists in the generated PDFs are broken.

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

No branches or pull requests

1 participant