I understand how repetitive manual steps can disrupt your workflow. Unfortunately, there isn't a built-in setting in OneNote to automatically show table borders when pasting plain-text tables. The "Hide Borders" toggle is indeed the current method to reveal borders, and it seems this functionality is by design.
However, you can automate this process using Power Automate. While there isn't a direct action to toggle table borders, you can create a flow that interacts with OneNote via the Microsoft Graph API. This approach involves updating the table's HTML to include border styles.
Here's a basic outline of how you might set up such a flow:
- Trigger: When a new table is added to OneNote.
- Action: Use the Microsoft Graph API to update the table's HTML, adding border styles.
For example, you can modify the table's HTML to include border attributes:
<table style="border:1px solid;border-collapse:collapse">
<tr>
<td style="border:1px solid">Cell 1</td>
<td style="border:1px solid">Cell 2</td>
</tr>
</table>
If you need detailed guidance on setting up this flow, I can help you with that. Additionally, you can submit a feature request to Microsoft for a more streamlined solution.
Would you like more information on setting up the Power Automate flow, or assistance with submitting a feature request?