-
Notifications
You must be signed in to change notification settings - Fork 51
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
Audit and Fix types.md
#102
Conversation
switch to using imgs from static/img folder instead changed the tables in Value Ranges section from HTML to Markdown tables added frontmatter added types.png to static folder
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One thing I want to figure out in a follow-up is how to add a class in dark-mode to alter the CSS applied to the SVG tables, since they need a different background colour there.
If we can make this SVG/Table approach work, it's really cool.
docs/B-Computations/types.md
Outdated
|
||
A **`long long int`** \(or simply, a `long long`\) contains at least 64 bits: | ||
|
||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 980 260"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to not have the table row wrap onto another line: the entire thing needs to fit in a single row across, and scale it to fit within the parent container.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs/B-Computations/types.md
Outdated
|
||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 165"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a really clever approach to use SVG for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
The alignment of the documentation is different for the top part and the rest.
switch to using imgs from static/img folder instead changed the tables in Value Ranges section from HTML to Markdown tables added frontmatter added types.png to static folder Made image centered Fixed trailing spaces after sentence breaks Made all memory tables one row height Adjusted alignment of the small tables (the ones that don't represent memory)
@lmpham1: Is there an update to this? |
@lmpham1 can you please update your branch and run |
Closing in favour of https://github.com/Seneca-ICTOER/IPC144/pull/154 |
Audit and Fix
types.md
. Closes #90Changes made
alt
value to the imagestatic/img/
folder insteadValue Ranges
section from HTML to Markdown