Smart Tables (WIP)

Smart Table

Common scenario based on standard Markdown.

Head 1 Head 2 Head 3
Item 1 Item 2 Item 3
Item 4 Item 5 Item 6
Item 7 Item 8 Item 9
Item 10 Item 11 Item 12

Smart Table with hand rolled HTML

Complex scenario, for cases when Markdown doesn't support things like lists or code blocks nested inside tables.

Head 1 Head 2 Head 3
Item 1
  • List 1
  • List 2
  • List 3
Item 3
Item 4 Item 5 Item 6
Item 7
class WTAHPlugin extends React.Component {
  componentDidMount() {
    this.WTAHplugin = DHAnalytics.plugins.helpful.create(this.el, this.props);
  }
  componentWillUnmount() {
    this.WTAHplugin.destroy();
  }
  render() {
    return <div ref={el => this.el = el} />;
  }
}
Item 9