Comments (16)
Can we at least collect statistics about how often conversion fails because a plugin is missing, and which one?
Good idea. I will implement that.
from author-tools.
Here's list of tools that I compiled from kramdown-rfc2629 experimental features:
Tool | Language | Notes | Other dependencies | Added to AT |
---|---|---|---|---|
GoAT | Go | ASCII (plaintext) art to figure conversion. No updates since 2016. | svgcheck | ✅ |
ditta | Java | ASCII (plaintext) art to figure conversion | JDK | |
mscgen | C | Message sequence charts generator. No updates since 2011. | ||
plantuml | Java | Multi-purpose diagram generator | graphviz | |
mermaid | JavaScript | SVG converter | NodeJS, chromium, puppeteer, Additional JavaScript dependencies | |
athjax-node-cli | JavaScript | Provides tex2svg. | NodeJS, Additional JavaScript dependencies | |
asciiTeX fork | C | ASCII equation renderer. The original project is abandoned. | ||
aasvg | JavaScript | Convert ASCII art diagrams into SVG. | NodeJS | ✅ |
Including all these tools, increases the maintenance overhead and security risks because some tools are not supported anymore. Is there are any guide on which of these tools used widely by the community?
from author-tools.
Feature branch: https://github.com/ietf-tools/ietf-at/tree/feature/kramdown-experimental-features
from author-tools.
Are these tools now installed on the service? Because https://github.com/larseggert/i-d-toolchain/blob/main/draft-i-d-toolchain-test-00.md still cannot be rendered.
from author-tools.
This one also fails.
from author-tools.
@larseggert, At the moment "Author Tools" only supports GoAT. About page has a list of tools.
Including all of these tools, increases the maintenance overhead and security risks because some tools are not supported anymore.
It would be nice if we can cut down the list of tools.
Is there are any guide on which of these tools used widely by the community?
from author-tools.
This one also fails.
Looks like this fails because this doesn't have a [seriesInfo]
section, so mmark generates an empty seriesInfo
entity.
With the verification API work, author tools will provide more meaningful error messages.
from author-tools.
About tools: if kramdown-rfc2629 or mmark allow source files that rely on third-party tools, IMO we should support them. Otherwise we end up offering a partial service.
About error messages: can we not at least show the stderr output in the browser when conversion fails?
from author-tools.
About error messages: can we not at least show the stderr output in the browser when conversion fails?
Author tools currently do that. But the keyword being "stderr", not all tools (specially xml2rfc) wrote errors into stderr. :(
Plan is to address this shortcoming with verification API work.
from author-tools.
Do they write to stdout? If so, show both in case the conversion fails?
from author-tools.
Yes, it does. But stdout is noisy. So, I've written regex to collect errors and warnings for the verification API piece.
from author-tools.
About tools: if kramdown-rfc2629 or mmark allow source files that rely on third-party tools, IMO we should support them. Otherwise we end up offering a partial service.
I think we need to limit what plugins we are going to add. Each addition adds a support load for us, and something may become unmaintained (or unsecure) in ways that we wouldn't keep providing the service, but someone running those applications in a standalone manner might put up with
Kramdown itself (if you install it) simply looks for the existence of the binaries for the extensions and issues an error if the tool isn't there, and we should pass that along in general.
Is there really community use of all the tools Kesara lists at the top that justifies taking on the maintenance load for the install of those things at this service?
from author-tools.
Lets focus on mermaid briefly - it has a lot in it that I would use, so I urge supporting it, but when some other markup package comes along that does diagramming in a slightly better way, do we add it to and take mermaid away? Or are we going to end up maintain the use of an open-ended set of things. And in particular, are we delegating the decision to add that load to multiple individuals (Carsten, Miek, etc.)
from author-tools.
Note also what Carsten says at https://github.com/cabo/kramdown-rfc2629/wiki/SVG#mermaid.
Instead, I think our service starts minimal, and we add when there's sufficient community pressure to add something. If someone wants the latest bells from one of the underlying things, they can build their own install.
The question is, what should that minimal set be. I disagree that its "everything the included tools support". Given Carsten's note above, I'm actually on the fence about mermaid (though I do find it very appealing).
from author-tools.
Can we at least collect statistics about how often conversion fails because a plugin is missing, and which one?
from author-tools.
Do they write to stdout? If so, show both in case the conversion fails?
Note: there are no incorrect markdown documents, so for mmark I opted to only output some logging (to stderr) when it spots errors.
from author-tools.
Related Issues (20)
- Make number of gunicorn works configurable
- Combine ietf-at-ui with ietf-at
- Rename ietf-at as author-tools
- Create helm chart for author tools
- Add ability to use idnits v3
- Restrict idnits v3 view to XML
- Incorrect footer in "Compare with latest"
- iddifff: Provide better error messages when there are format issues
- validate removes the download button
- Submitting a non-UTF8 file to the kramdown-rfc processor leads to a non-descript SyntaxError: Unexpected token '<', '' HOT 3
- UnicodeDecodeError: 'utf-8' codec can't decode byte 0x96 in position 0: invalid start byte HOT 5
- iddiff: UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 55320: invalid start byte
- idnits only runs in submission-check mode
- Problems with footer of online iddiff tool HOT 2
- This submission has been cancelled due to a system error during processing. Modification is no longer possible. HOT 1
- ability to process a kramdown-rfc md file with include statements
- TypeError: Node.appendChild: Argument 1 is not an object. HOT 2
- Add a link to IETF status page
- IDNITS: Incorrects nits related to updates HOT 2
- Run tests when mmark is updated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from author-tools.