mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-12-19 00:09:21 +11:00
Added a note that you have to disable ‚lexer‘ to use ‚filename‘.
Might be good to rethink the logic here.
This commit is contained in:
parent
9768ab9573
commit
fc9529572b
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.
|
||||
|
||||
.. 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
|
||||
to generate the full qualified URL in the API response. See :doc:`settings`.
|
||||
|
||||
|
|
Loading…
Reference in a new issue