mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 16:12:51 +11:00
Merge branch 'master' of github.com:bartTC/dpaste
This commit is contained in:
commit
e74d456272
1 changed files with 3 additions and 0 deletions
|
@ -88,6 +88,9 @@ This will create a ``python`` highlighted snippet. However in this example::
|
||||||
|
|
||||||
Since the lexer is set too, we will create a ``php`` highlighted snippet.
|
Since the lexer is set too, we will create a ``php`` highlighted snippet.
|
||||||
|
|
||||||
|
.. note:: Since ``lexer`` defaults to ``python`` you have to specifically
|
||||||
|
unset it when using ``filename``.
|
||||||
|
|
||||||
.. hint:: You need to adjust the setting ``DPASTE_BASE_URL`` which is used
|
.. hint:: You need to adjust the setting ``DPASTE_BASE_URL`` which is used
|
||||||
to generate the full qualified URL in the API response. See :doc:`settings`.
|
to generate the full qualified URL in the API response. See :doc:`settings`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue