0

I have write an small snippet for html-table to extend when editing rst file:

vim .vim/bundle/vim-snippets/UltiSnips/rst.snippets

snippet html-table  "put html" i
.. raw:: html

   <table>
      <tr>
          <td>
              write text
          </td>
      </tr>
   </table>
endsnippet

Typing html-table can extend as i expect when editing rst file,

.. raw:: html

   <table>
      <tr>
          <td>
              write text
          </td>
      </tr>
   </table>

now i want it more smart,add two arguments:one for row ,another for column,how can extend html-table(n,m) as n rows and m columns?

1
  • 1
    What does the plugin documentation say about that?
    – romainl
    Commented Nov 17, 2023 at 7:55

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.