WIP language reference and supporting materials for Compact 1.0#693
WIP language reference and supporting materials for Compact 1.0#693
Conversation
replaced all-keywords.mdx with compact-keywords.mdx and removed
all-keywords.html.
removed word-break: break-all from custom.css code {} to we don't get line
breaks within words and constants in inline code segments.
moved ledger-adt.mdx from static/language to docs/compact/reference.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🚀 Preview Deployment✅ Deployment Ready 🔗 Preview URL: https://pr-693-midnight-docs.vercel.app 📝 Latest commit: This preview updates automatically when you push new commits to this PR. |
corresponding changes to custom.css
custom.css to make the table rendering prettier.
because it doesn't work when included in <table ...>, only when introduced outside of <table>...</table>
Thanks @gyrationtechs for a quick turnaround. I'm double checking with @dybvig on the formatting of code snippets. |
|
@gyrationtechs two follow up question:
|
|
The code blocks look good to me without padding, but if you prefer padding, we could go with something small like "padding: 4px". The default is too large for my taste and also sometimes provides less than adequate horizontal space for the code given that the size of the center window is limited. |
@dybvig I applied this and propagated it back to lfdt/compact repo in the PR I have for TS target. |
|
added border: node to code{};
added <div className="lang-ref"> ... </div> around the
content of explicit-disclosure.mdx and writing.mdx.
|
Actually, the problem is that the padding is included not only for the code blocks but also for code segments in the text, and that looks funny with anything even as high as 4px. 2px looks pretty good, so I've switched to that. I also set up explicit-disclosure.mdx and writing.mdx to use the lang-ref style. |
@gyrationtechs The former, I want Compact to appear at the top and to be linked to the same files that are used for the sidebar (still I want to keep Compact in the sidebar as well). Also if you're happy with this PR can we get an approval and merge it and then do the change for having Compact on top of the page as well? |
gyrationtechs
left a comment
There was a problem hiding this comment.
@pataei I will make the site navigation changes in a separate PR.


No description provided.