Comments (1)
Perhaps the best way is to make the Validate function, part of the IDocumentPart interface, and just loop through those?
Would need to be recursive though, for grandchildren... Or, given we have a distinctive list of which child elements always have children, the grandchild validation could be part of the child validators?
Finally, probably need to review the validate functions themselves, as they currently throw the exception, which wouldn't work when we want a full list of errors. Nice wee bit of refactoring required there ;)
from markdown-maker.
Related Issues (20)
- Add MdFootNote for GitHub footnotes HOT 2
- Add MdComment
- Add MdStrikeThroughText
- Add support for nested lists within MdList
- Create extensions for DoxFX-flavoured markdown HOT 2
- Add an MdTable.Convert() method HOT 2
- Create an extension to generate a DocFX yaml content file HOT 1
- Extend tests with real integration test project
- Add AzDO wiki support
- Add Docusaurus support
- Override MdDocument.ToString()
- Add a basic POCO - Markdown converter
- MdTableRow should have the same number of columns as the parent table
- XML documentation of each public class
- Override constructors to accept an array of children as opposed to using the .Add() methods HOT 2
- Add MdDocumentSet
- Add TaskList to MdListType enum
- Provide basic usage documentation HOT 1
- Extend inputs to accept more than just MdPlainText HOT 1
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 markdown-maker.