Skip to content
Snippets Groups Projects
Select Git revision
  • 9a1ace943b0da46aed0306ec582d08bb2732f954
  • master default
  • fix-remote-url_v4.9.1
  • fix-remote-url_v4.8.3
  • fix-remote-url_v4.8.x
  • fix-remote-url_v4.7.x
  • fix-remote-url_v4.6.0
  • fix-remote-urls
8 results

textdownload.php

  • Matti Harjula's avatar
    9a1ace94
    Add the first iteration of data-file downloads. · 9a1ace94
    Matti Harjula authored
    Basically, this will generate a text-filed for download with the contents of the block.
    Note the new utility function. Only usable in question-text, cannot use student input in
    content and so on.
    ```
    [[textdownload name="data.csv"]]{@stack_csv_formatter(data, lab)@}[[/textdownload]]
    ```
    9a1ace94
    History
    Add the first iteration of data-file downloads.
    Matti Harjula authored
    Basically, this will generate a text-filed for download with the contents of the block.
    Note the new utility function. Only usable in question-text, cannot use student input in
    content and so on.
    ```
    [[textdownload name="data.csv"]]{@stack_csv_formatter(data, lab)@}[[/textdownload]]
    ```