ContentNode wrapper class #1

Open
opened 3 years ago by garrettmills · 0 comments
Owner

This will be an abstract class that represents user content in a particular format.

An instance of ContentNode will have some number of children which are themselves content nodes of any other format.

Should define:

  • renderToHTML

    • Returns an HTML string of the content and all children.
  • renderToTEX

    • Returns a TEX string of the content and all children.
  • renderToPDF

    • Returns the structure necessary to build a PDF of the content and all children.
This will be an abstract class that represents user content in a particular format. An instance of ContentNode will have some number of children which are themselves content nodes of any other format. Should define: - `renderToHTML` - Returns an HTML string of the content and all children. - `renderToTEX` - Returns a TEX string of the content and all children. - `renderToPDF` - Returns the structure necessary to build a PDF of the content and all children.
garrettmills added this to the Generic Renderers project 3 years ago
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: Noded/common#1
Loading…
There is no content yet.