microsoft / jupyter-core

Library for writing Jupyter kernels in .NET Core
MIT License
108 stars 23 forks source link

Add support for text alignment in table cells #57

Closed rmshaffer closed 4 years ago

rmshaffer commented 4 years ago

Resolves #51 by adding a TableCellAlignment property to the table encoders. I'm choosing the default to be TableCellAlignment.Left. Left-align was already the default for the TableToText variant, but the TableToHTML variant ended up defaulting to right-align due to default Jupyter Notebook styling. For consistency, these should have the same default, and left-align seems to be the most logical default.