• Resolved rty012

    (@rty012)


    Even if you look for the enlighter setting page, you can not find the item that sets the tab width, and you can set only 8 spaces for one tab.
    I would like to set two spaces for one tab.
    How do I set it?
    “Code Indentation” is “No Modification (Keep Tabs)”.
    Thank you.

    • This topic was modified 2 years, 7 months ago by rty012.
    • This topic was modified 2 years, 7 months ago by rty012.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Andi Dittrich

    (@andi-dittrich)

    set “Code Indentation” to “2 spaces” – this will replace each tab with 2 spaces

    Thread Starter rty012

    (@rty012)

    Thank you for your reply.
    I’m sorry to keep bothering you.
    I would like to leave “Code Indentation” as “No Modification (Keep Tabs)” and paste it into Notepad etc. as tabs.
    I’m sorry for the lack of explanation, but since I mainly use Python code on my blog, I would like to copy and paste it in the tabs as they are.
    There’s 8 spaces in one tap which looks bad, so could you please tell me how to paste it with 2 spaces in one tap?
    Thank you for your support.

    Plugin Author Andi Dittrich

    (@andi-dittrich)

    you can try to adjust the tab-width with css (supported in modern browsers). but generally users should use the copy or raw code buttons (no changes to the source code).

    Thread Starter rty012

    (@rty012)

    I understand the case that can be adjusted with CSS.
    Thank you for your reply.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Please tell me how to change the tab width’ is closed to new replies.