cplusplus / html-doc-framework Goto Github PK
View Code? Open in Web Editor NEWA set of custom HTML elements to make writing well-formatted C++ papers and ISO documents easier.
License: Apache License 2.0
A set of custom HTML elements to make writing well-formatted C++ papers and ISO documents easier.
License: Apache License 2.0
I've noticed that placing <cxx-example>
within a paragraph will cause the example to be closed immediately without surrounding the example text.
The following HTML should reproduce the bug. To workaround the issue, I close the <p>
before using <cxx-example>
, and it produces the output I expect.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<script src="bower_components/platform/platform.js"></script>
<link rel="import" href="bower_components/cxx-html-doc-framework/framework.html"/>
</head>
<body unresolved="">
<p>
<cxx-example><pre>
foo bar</pre>
</cxx-example>
</p>
</body>
</html>
An example of where this problem occurs is at 2.2.1.17 of the Library Fundamentals TS.
Probably there are other document structure invariants that we could warn about too.
This and resetStyleInheritance
seem to have fallen off the Shadow DOM styling rules, so we should avoid relying on them in the custom elements.
cplusplus/fundamentals-ts@7b47f9c introduced a <cxx-postcondition>
tag, which this framework doesn't recognize. We should provide a way to find such broken tags.
We should be able to get a "red-lined" document with <ins>
and <del>
tags saying what's changed since the previous version of a paper, without needing to insert them manually.
Probably its format will need to be something like
{
"sections": {
"section.name": "1.2.3"
},
"tables": {
"table.name": "14"
},
"figures": {
"figure.name": "3"
}
}
We should have a <body class="cxx-paper">
that switches the formatting to work well in papers, and we'll need to adopt asutton/html-doc-framework@71d7418bb19c841df6f87745b15a4e5e6bab6ad0's support for explicitly numbering sections and paragraphs.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.