File tree 2 files changed +13
-3
lines changed
2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 1
1
# markdown-table
2
2
3
- This is where a description of your plugin goes.
4
- Provide usage instructions here.
3
+ This plugin adds styling to markdown tables, by adding bootstrap classes.
4
+ Styling can be applied to ``` <table> ``` and ``` thead ``` by creating a configuration file
5
+ named ``` markdown-table.ini ``` in the ``` configs ``` directory.
6
+
7
+ #### Example
8
+
9
+ ```
10
+ [bootstrap_class]
11
+ table = 'table table-striped'
12
+ thead = 'thead-dark'
13
+ ```
14
+ If not specified, the default styles ``` 'table table-striped ``` and ``` thead-dark ``` are applied.
Original file line number Diff line number Diff line change 4
4
5
5
class MarkdownTablePlugin (Plugin ):
6
6
name = 'markdown-table'
7
- description = u'Add your description here. '
7
+ description = u'This plugin adds styling to markdown tables '
8
8
9
9
def get_style (self ):
10
10
table_class = self .get_config ().get ('bootstrap_class.table' , 'table table-striped' )
You can’t perform that action at this time.
0 commit comments